ia64/xen-unstable

changeset 15621:f191aa8ac8ea

vmx: Save host MSR state for SYSCALLs on all CPUs.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Thu Jul 19 10:59:05 2007 +0100 (2007-07-19)
parents 0eaa9f605b92
children 0d291a7c8c1f
files xen/arch/x86/hvm/vmx/vmx.c
line diff
     1.1 --- a/xen/arch/x86/hvm/vmx/vmx.c	Thu Jul 19 10:26:00 2007 +0100
     1.2 +++ b/xen/arch/x86/hvm/vmx/vmx.c	Thu Jul 19 10:59:05 2007 +0100
     1.3 @@ -1270,6 +1270,8 @@ void start_vmx(void)
     1.4  {
     1.5      static int bootstrapped;
     1.6  
     1.7 +    vmx_save_host_msrs();
     1.8 +
     1.9      if ( bootstrapped )
    1.10      {
    1.11          if ( hvm_enabled && !vmx_cpu_up() )
    1.12 @@ -1299,8 +1301,6 @@ void start_vmx(void)
    1.13  
    1.14      setup_vmcs_dump();
    1.15  
    1.16 -    vmx_save_host_msrs();
    1.17 -
    1.18      hvm_enable(&vmx_function_table);
    1.19  
    1.20      if ( cpu_has_vmx_msr_bitmap )