diff options
author | Gleb Natapov <gleb@redhat.com> | 2012-08-01 17:01:42 +0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-08-05 16:52:38 +0300 |
commit | 439793d4b3c99e550daebd868bbd58967c93d0b3 (patch) | |
tree | 76343ba8bfe7792099ae0373ec69e47ca092885e /arch/x86 | |
parent | e7882d6c40874a5b5033ca85f7508a602a60b662 (diff) | |
download | linux-439793d4b3c99e550daebd868bbd58967c93d0b3.tar.gz linux-439793d4b3c99e550daebd868bbd58967c93d0b3.tar.bz2 linux-439793d4b3c99e550daebd868bbd58967c93d0b3.zip |
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 <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kvm/x86.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 42bce48f6928..dce75b760312 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, |