KVM: x86/pmu: Use separate array for defining "PMU MSRs to save"
authorSean Christopherson <seanjc@google.com>
Tue, 24 Jan 2023 23:49:02 +0000 (23:49 +0000)
committerSean Christopherson <seanjc@google.com>
Fri, 27 Jan 2023 02:03:42 +0000 (18:03 -0800)
commit2374b7310b662e29e3468d510bfaded60fbae99c
treea1362de38793977bfb0f41fb638f0b2f6581179a
parente76ae52747a82a548742107b4100e90da41a624d
KVM: x86/pmu: Use separate array for defining "PMU MSRs to save"

Move all potential to-be-saved PMU MSRs into a separate array so that a
future patch can easily omit all PMU MSRs from the list when the PMU is
disabled.

No functional change intended.

Link: https://lore.kernel.org/r/20230124234905.3774678-4-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/x86.c