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

[Xen-changelog] [xen-unstable] [HVM][VMX] Don't update the EIP on debug register accesses



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxxx
# Node ID a71c265924d216c1965349c7164596cf7705fefc
# Parent  7c9d7fc3dce550be4ed5c698c941be01f53347cb
[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@xxxxxxx>
---
 xen/arch/x86/hvm/vmx/vmx.c |    2 --
 1 files changed, 2 deletions(-)

diff -r 7c9d7fc3dce5 -r a71c265924d2 xen/arch/x86/hvm/vmx/vmx.c
--- a/xen/arch/x86/hvm/vmx/vmx.c        Sat Aug 19 12:06:36 2006 +0100
+++ b/xen/arch/x86/hvm/vmx/vmx.c        Sat Aug 19 12:07:07 2006 +0100
@@ -2273,8 +2273,6 @@ asmlinkage void vmx_vmexit_handler(struc
     case EXIT_REASON_DR_ACCESS:
         __vmread(EXIT_QUALIFICATION, &exit_qualification);
         vmx_dr_access(exit_qualification, &regs);
-        __get_instruction_length(inst_len);
-        __update_guest_eip(inst_len);
         break;
     case EXIT_REASON_IO_INSTRUCTION:
         __vmread(EXIT_QUALIFICATION, &exit_qualification);

_______________________________________________
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®.