mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
vmx: Save host MSR state for SYSCALLs on all CPUs.
Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
1 parent
2aaae75a0f
commit
d17ac42f37
1 file changed
+2
-2
@@ -1270,6 +1270,8 @@ void start_vmx(void)
|
||||
{
|
||||
static int bootstrapped;
|
||||
|
||||
vmx_save_host_msrs();
|
||||
|
||||
if ( bootstrapped )
|
||||
{
|
||||
if ( hvm_enabled && !vmx_cpu_up() )
|
||||
@@ -1299,8 +1301,6 @@ void start_vmx(void)
|
||||
|
||||
setup_vmcs_dump();
|
||||
|
||||
vmx_save_host_msrs();
|
||||
|
||||
hvm_enable(&vmx_function_table);
|
||||
|
||||
if ( cpu_has_vmx_msr_bitmap )
|
||||
|
||||