From: Avi Kivity Date: Wed, 1 Sep 2010 07:23:35 +0000 (+0300) Subject: KVM: Don't save/restore MSR_IA32_PERF_STATUS X-Git-Tag: v2.6.37-rc1~142^2~122 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e90aa41e6ca76cd7be021d4d5560e64954cd4585;p=profile%2Fcommon%2Fkernel-common.git 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 --- diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index d0ba857..1c97238 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -739,7 +739,7 @@ static u32 msrs_to_save[] = { #ifdef CONFIG_X86_64 MSR_CSTAR, MSR_KERNEL_GS_BASE, MSR_SYSCALL_MASK, MSR_LSTAR, #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;