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

[Xen-changelog] [xen-unstable] VMX: No VMExits on SYSENTER MSR accesses since VMX already has VMCS



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1183970391 -3600
# Node ID 107b9bde5e4d3487013441ec5ffb563d9a8b5414
# Parent  259bb15b2d1e5616e5e09ce1ce8ff4f122779e4b
VMX: No VMExits on SYSENTER MSR accesses since VMX already has VMCS
fields for both host and guest state.
Signed-off-by: Xin Li <xin.b.li@xxxxxxxxx>
---
 xen/arch/x86/hvm/vmx/vmx.c |    5 +++++
 1 files changed, 5 insertions(+)

diff -r 259bb15b2d1e -r 107b9bde5e4d xen/arch/x86/hvm/vmx/vmx.c
--- a/xen/arch/x86/hvm/vmx/vmx.c        Mon Jul 09 09:38:35 2007 +0100
+++ b/xen/arch/x86/hvm/vmx/vmx.c        Mon Jul 09 09:39:51 2007 +0100
@@ -1336,8 +1336,13 @@ int start_vmx(void)
         vmx_msr_bitmap = alloc_xenheap_page();
         BUG_ON(vmx_msr_bitmap == NULL);
         memset(vmx_msr_bitmap, ~0, PAGE_SIZE);
+
         disable_intercept_for_msr(MSR_FS_BASE);
         disable_intercept_for_msr(MSR_GS_BASE);
+
+        disable_intercept_for_msr(MSR_IA32_SYSENTER_CS);
+        disable_intercept_for_msr(MSR_IA32_SYSENTER_ESP);
+        disable_intercept_for_msr(MSR_IA32_SYSENTER_EIP);
     }
 
     return 1;

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