KVM: x86: update KVM_SAVE_MSRS_BEGIN to correct value
authorGleb Natapov <gleb@redhat.com>
Wed, 1 Aug 2012 14:01:42 +0000 (17:01 +0300)
committerMarcelo Tosatti <mtosatti@redhat.com>
Fri, 3 Aug 2012 18:08:22 +0000 (15:08 -0300)
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 <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/x86.c

index 3a53bcc..a87c82a 100644 (file)
@@ -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,