From: kaf24@localhost.localdomain Date: Sat, 19 Aug 2006 11:07:07 +0000 (+0100) Subject: [HVM][VMX] Don't update the EIP on debug register accesses X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15710^2~29 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ef0e2fc8dc73fbfff716e560fdcf3dbe4a793669;p=xen.git [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 --- diff --git a/xen/arch/x86/hvm/vmx/vmx.c b/xen/arch/x86/hvm/vmx/vmx.c index acd61cfdc0..c0a1616c0a 100644 --- a/xen/arch/x86/hvm/vmx/vmx.c +++ b/xen/arch/x86/hvm/vmx/vmx.c @@ -2273,8 +2273,6 @@ asmlinkage void vmx_vmexit_handler(struct cpu_user_regs regs) case EXIT_REASON_DR_ACCESS: __vmread(EXIT_QUALIFICATION, &exit_qualification); vmx_dr_access(exit_qualification, ®s); - __get_instruction_length(inst_len); - __update_guest_eip(inst_len); break; case EXIT_REASON_IO_INSTRUCTION: __vmread(EXIT_QUALIFICATION, &exit_qualification);