kvm: x86: Add Intel PMU MSRs to msrs_to_save[]
authorJim Mattson <jmattson@google.com>
Wed, 21 Aug 2019 18:20:04 +0000 (11:20 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 24 Sep 2019 11:37:10 +0000 (13:37 +0200)
commite2ada66ec41821e54a503776c1ce42fbf4e99fbe
tree506372bf3f924a88b3f0d579912dc61e1fb49972
parent4c07e2ddab5b6b57dbcb09aedbda1f484d5940cc
kvm: x86: Add Intel PMU MSRs to msrs_to_save[]

These MSRs should be enumerated by KVM_GET_MSR_INDEX_LIST, so that
userspace knows that these MSRs may be part of the vCPU state.

Signed-off-by: Jim Mattson <jmattson@google.com>
Reviewed-by: Eric Hankland <ehankland@google.com>
Reviewed-by: Peter Shier <pshier@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c