WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] VMX: No VMExits on SYSENTER MSR accesses

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] VMX: No VMExits on SYSENTER MSR accesses since VMX already has VMCS
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 09 Jul 2007 04:25:49 -0700
Delivery-date: Mon, 09 Jul 2007 04:24:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] VMX: No VMExits on SYSENTER MSR accesses since VMX already has VMCS, Xen patchbot-unstable <=