KVM: x86: Handle PERF_CAPABILITIES in common x86's kvm_get_msr_feature()
authorSean Christopherson <seanjc@google.com>
Thu, 6 Oct 2022 00:03:13 +0000 (00:03 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 9 Nov 2022 17:31:12 +0000 (12:31 -0500)
commit5fe9805dc2f58bebb3bf5dd298559c4bad5f0448
treef6c1aa605e411dfc56c03f2513d6937758ba3149
parent6c6f82bea96fddb96898edbbee248ad362b768f4
KVM: x86: Handle PERF_CAPABILITIES in common x86's kvm_get_msr_feature()

Handle PERF_CAPABILITIES directly in kvm_get_msr_feature() now that the
supported value is available in kvm_caps.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20221006000314.73240-8-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/svm.c
arch/x86/kvm/vmx/vmx.c
arch/x86/kvm/x86.c