[PATCH 0/2] KVM: x86: Snapshot host MSR_IA32_ARCH_CAPABILITIES
From: Sean Christopherson
Date: Tue Jun 06 2023 - 20:43:19 EST
Snapshot the host's MSR_IA32_ARCH_CAPABILITIES to avoid repeated RDMSRs
at runtime, and cleanup the pseudo-cache vmx_fb_clear_ctrl_available.
Sean Christopherson (2):
KVM: x86: Snapshot host's MSR_IA32_ARCH_CAPABILITIES
KVM: VMX: Drop unnecessary vmx_fb_clear_ctrl_available "cache"
arch/x86/kvm/vmx/vmx.c | 33 ++++++---------------------------
arch/x86/kvm/x86.c | 13 +++++++------
arch/x86/kvm/x86.h | 1 +
3 files changed, 14 insertions(+), 33 deletions(-)
base-commit: 02f1b0b736606f9870595b3089d9c124f9da8be9
--
2.41.0.162.gfafddb0af9-goog