ia64/xen-unstable

changeset 5716:3de8cebfb231

More verbose log when vmx_decode() fails.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
author kaf24@firebug.cl.cam.ac.uk
date Mon Jul 11 08:59:22 2005 +0000 (2005-07-11)
parents 507ab2973964
children d4607c4c9478
files xen/arch/x86/vmx_platform.c
line diff
     1.1 --- a/xen/arch/x86/vmx_platform.c	Mon Jul 11 08:59:01 2005 +0000
     1.2 +++ b/xen/arch/x86/vmx_platform.c	Mon Jul 11 08:59:22 2005 +0000
     1.3 @@ -653,8 +653,11 @@ void handle_mmio(unsigned long va, unsig
     1.4  
     1.5      init_instruction(&mmio_inst);
     1.6      
     1.7 -    if (vmx_decode(inst, &mmio_inst) == DECODE_failure)
     1.8 +    if (vmx_decode(inst, &mmio_inst) == DECODE_failure) {
     1.9 +        printk("vmx decode failure: eip=%lx, va=%lx\n %x %x %x %x\n", eip, va, 
    1.10 +               inst[0], inst[1], inst[2], inst[3]);
    1.11          domain_crash_synchronous();
    1.12 +    }
    1.13  
    1.14      __vmwrite(GUEST_RIP, eip + inst_len);
    1.15      store_cpu_user_regs(inst_decoder_regs);