Commit e90aa41e authored by Avi Kivity's avatar Avi Kivity

KVM: Don't save/restore MSR_IA32_PERF_STATUS

It is read/only; restoring it only results in annoying messages.
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent eaa48512
...@@ -739,7 +739,7 @@ static u32 msrs_to_save[] = { ...@@ -739,7 +739,7 @@ static u32 msrs_to_save[] = {
#ifdef CONFIG_X86_64 #ifdef CONFIG_X86_64
MSR_CSTAR, MSR_KERNEL_GS_BASE, MSR_SYSCALL_MASK, MSR_LSTAR, MSR_CSTAR, MSR_KERNEL_GS_BASE, MSR_SYSCALL_MASK, MSR_LSTAR,
#endif #endif
MSR_IA32_TSC, MSR_IA32_PERF_STATUS, MSR_IA32_CR_PAT, MSR_VM_HSAVE_PA MSR_IA32_TSC, MSR_IA32_CR_PAT, MSR_VM_HSAVE_PA
}; };
static unsigned num_msrs_to_save; static unsigned num_msrs_to_save;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment