All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][2/5] More verbose log when vmx_decode() fails.
@ 2005-07-10 19:00 Arun Sharma
  0 siblings, 0 replies; only message in thread
From: Arun Sharma @ 2005-07-10 19:00 UTC (permalink / raw)
  To: Ian Pratt, Keir Fraser; +Cc: xen-devel

More verbose log when vmx_decode() fails.

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

diff -r eef933138a84 -r 2ae37d882cf5 xen/arch/x86/vmx_platform.c
--- a/xen/arch/x86/vmx_platform.c	Thu Jul  7 23:13:28 2005
+++ b/xen/arch/x86/vmx_platform.c	Fri Jul  8 00:18:10 2005
@@ -655,8 +655,11 @@
 
     init_instruction(&mmio_inst);
     
-    if (vmx_decode(inst, &mmio_inst) == DECODE_failure)
+    if (vmx_decode(inst, &mmio_inst) == DECODE_failure) {
+        printk("vmx decode failure: eip=%lx, va=%lx\n %x %x %x %x\n", eip, va, 
+               inst[0], inst[1], inst[2], inst[3]);
         domain_crash_synchronous();
+    }
 
     __vmwrite(GUEST_RIP, eip + inst_len);
     store_cpu_user_regs(inst_decoder_regs);

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

only message in thread, other threads:[~2005-07-10 19:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-10 19:00 [PATCH][2/5] More verbose log when vmx_decode() fails 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.