direct-io.hg

changeset 15501:107b9bde5e4d

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@intel.com>
author kfraser@localhost.localdomain
date Mon Jul 09 09:39:51 2007 +0100 (2007-07-09)
parents 259bb15b2d1e
children 99143d572521
files xen/arch/x86/hvm/vmx/vmx.c
line diff
     1.1 --- a/xen/arch/x86/hvm/vmx/vmx.c	Mon Jul 09 09:38:35 2007 +0100
     1.2 +++ b/xen/arch/x86/hvm/vmx/vmx.c	Mon Jul 09 09:39:51 2007 +0100
     1.3 @@ -1336,8 +1336,13 @@ int start_vmx(void)
     1.4          vmx_msr_bitmap = alloc_xenheap_page();
     1.5          BUG_ON(vmx_msr_bitmap == NULL);
     1.6          memset(vmx_msr_bitmap, ~0, PAGE_SIZE);
     1.7 +
     1.8          disable_intercept_for_msr(MSR_FS_BASE);
     1.9          disable_intercept_for_msr(MSR_GS_BASE);
    1.10 +
    1.11 +        disable_intercept_for_msr(MSR_IA32_SYSENTER_CS);
    1.12 +        disable_intercept_for_msr(MSR_IA32_SYSENTER_ESP);
    1.13 +        disable_intercept_for_msr(MSR_IA32_SYSENTER_EIP);
    1.14      }
    1.15  
    1.16      return 1;