[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Debug build dumps guest state to emergency console if it crashes.



ChangeSet 1.1580, 2005/05/28 10:02:28+01:00, kaf24@xxxxxxxxxxxxxxxxxxxx

        Debug build dumps guest state to emergency console if it crashes.
        Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>



 domain.c |    4 ++++
 1 files changed, 4 insertions(+)


diff -Nru a/xen/common/domain.c b/xen/common/domain.c
--- a/xen/common/domain.c       2005-05-28 06:03:40 -04:00
+++ b/xen/common/domain.c       2005-05-28 06:03:40 -04:00
@@ -130,6 +130,10 @@
         panic("Domain 0 crashed!\n");
     }
 
+#ifndef NDEBUG
+    show_registers(guest_cpu_user_regs());
+#endif
+
     set_bit(_DOMF_crashed, &d->domain_flags);
 
     send_guest_virq(dom0->exec_domain[0], VIRQ_DOM_EXC);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.