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

[Xen-changelog] More verbose log when vmx_decode() fails.



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 3de8cebfb231d13f4b59e6d330b19915d33523c3
# Parent  507ab2973964424e07f3107d0f2421b746714f83

More verbose log when vmx_decode() fails.
Signed-off-by: Arun Sharma <arun.sharma@xxxxxxxxx>

diff -r 507ab2973964 -r 3de8cebfb231 xen/arch/x86/vmx_platform.c
--- a/xen/arch/x86/vmx_platform.c       Mon Jul 11 08:59:01 2005
+++ b/xen/arch/x86/vmx_platform.c       Mon Jul 11 08:59:22 2005
@@ -653,8 +653,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-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®.