aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2010-09-01 03:23:35 -0400
committerAvi Kivity <avi@redhat.com>2010-10-24 04:51:51 -0400
commite90aa41e6ca76cd7be021d4d5560e64954cd4585 (patch)
tree29efc5e5918555368f0b050732c148cf6cfaa677 /arch
parenteaa48512ba9df32aab8be5fceec10f3f80369379 (diff)
KVM: Don't save/restore MSR_IA32_PERF_STATUS
It is read/only; restoring it only results in annoying messages. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kvm/x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index d0ba857cd7cf..1c972382e5d4 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -739,7 +739,7 @@ static u32 msrs_to_save[] = {
739#ifdef CONFIG_X86_64 739#ifdef CONFIG_X86_64
740 MSR_CSTAR, MSR_KERNEL_GS_BASE, MSR_SYSCALL_MASK, MSR_LSTAR, 740 MSR_CSTAR, MSR_KERNEL_GS_BASE, MSR_SYSCALL_MASK, MSR_LSTAR,
741#endif 741#endif
742 MSR_IA32_TSC, MSR_IA32_PERF_STATUS, MSR_IA32_CR_PAT, MSR_VM_HSAVE_PA 742 MSR_IA32_TSC, MSR_IA32_CR_PAT, MSR_VM_HSAVE_PA
743}; 743};
744 744
745static unsigned num_msrs_to_save; 745static unsigned num_msrs_to_save;