From: Gleb Natapov Date: Wed, 1 Aug 2012 14:01:42 +0000 (+0300) Subject: KVM: x86: update KVM_SAVE_MSRS_BEGIN to correct value X-Git-Tag: upstream/snapshot3+hdmi~6768^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=439793d4b3c99e550daebd868bbd58967c93d0b3;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git KVM: x86: update KVM_SAVE_MSRS_BEGIN to correct value When MSR_KVM_PV_EOI_EN was added to msrs_to_save array KVM_SAVE_MSRS_BEGIN was not updated accordingly. Signed-off-by: Gleb Natapov Signed-off-by: Marcelo Tosatti Signed-off-by: Avi Kivity --- diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 42bce48..dce75b76 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -806,7 +806,7 @@ EXPORT_SYMBOL_GPL(kvm_rdpmc); * kvm-specific. Those are put in the beginning of the list. */ -#define KVM_SAVE_MSRS_BEGIN 9 +#define KVM_SAVE_MSRS_BEGIN 10 static u32 msrs_to_save[] = { MSR_KVM_SYSTEM_TIME, MSR_KVM_WALL_CLOCK, MSR_KVM_SYSTEM_TIME_NEW, MSR_KVM_WALL_CLOCK_NEW,