All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] show-regs.patch
@ 2005-05-27 19:38 Arun Sharma
  0 siblings, 0 replies; only message in thread
From: Arun Sharma @ 2005-05-27 19:38 UTC (permalink / raw)
  To: Ian Pratt, Keir Fraser; +Cc: xen-devel

[ I know this will break non x86 archs, but something like this would be nice
  to figure out why a domain has crashed. May be we can #ifdef CONFIG_X86 for 
  now? ]

Show registers after a domain crash

Signed-off-by: Arun Sharma <arun.sharma@intel.com>

--- 1.187/xen/common/domain.c	2005-05-18 06:14:33 -07:00
+++ edited/xen/common/domain.c	2005-05-26 12:00:10 -07:00
@@ -127,6 +127,7 @@
         panic("Domain 0 crashed!\n");
     }
 
+    show_registers(guest_cpu_user_regs());
     set_bit(_DOMF_crashed, &d->domain_flags);
 
     send_guest_virq(dom0->exec_domain[0], VIRQ_DOM_EXC);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-05-27 19:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-27 19:38 [PATCH] show-regs.patch Arun Sharma

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.