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

[Xen-devel] [PATCH][2/5] More verbose log when vmx_decode() fails.



More verbose log when vmx_decode() fails.

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

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);

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


 


Rackspace

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