More verbose log when vmx_decode() fails.
PATCH 2/5 More verbose log when vmx_decode() fails.
More verbose log when vmx_decode() fails.
Signed-off-by Arun Sharma <[email protected]>
xen/arch/x86/vmx_platform.c +4 -1
@@ -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);