ia64/xen-unstable

changeset 11222:a71c265924d2

[HVM][VMX] Don't update the EIP on debug register accesses

On debug register accesses, the EIP should not be updated.
Because of the way that lazy save/restore of the debug
registers is implemented, this initial debug register access
is lost.

Signed-off-by: Travis Betak <travis.betak@amd.com>
author kaf24@localhost.localdomain
date Sat Aug 19 12:07:07 2006 +0100 (2006-08-19)
parents 7c9d7fc3dce5
children bb52372aa17f
files xen/arch/x86/hvm/vmx/vmx.c
line diff
     1.1 --- a/xen/arch/x86/hvm/vmx/vmx.c	Sat Aug 19 12:06:36 2006 +0100
     1.2 +++ b/xen/arch/x86/hvm/vmx/vmx.c	Sat Aug 19 12:07:07 2006 +0100
     1.3 @@ -2273,8 +2273,6 @@ asmlinkage void vmx_vmexit_handler(struc
     1.4      case EXIT_REASON_DR_ACCESS:
     1.5          __vmread(EXIT_QUALIFICATION, &exit_qualification);
     1.6          vmx_dr_access(exit_qualification, &regs);
     1.7 -        __get_instruction_length(inst_len);
     1.8 -        __update_guest_eip(inst_len);
     1.9          break;
    1.10      case EXIT_REASON_IO_INSTRUCTION:
    1.11          __vmread(EXIT_QUALIFICATION, &exit_qualification);