[PATCH v3 0/3] KVM: x86: MSR filtering and related fixes

From: Sean Christopherson
Date: Fri Sep 24 2021 - 16:49:14 EST


Fix two nVMX bugs related to MSR filtering (one directly, one indirectly),
and additional cleanup on top. The main SRCU fix from the original series
was merged, but these got left behind.

v3:
- Rebase to 9f6090b09d66 ("KVM: MMU: make spte .... in make_spte")

v2:
- https://lkml.kernel.org/r/20210318224310.3274160-1-seanjc@xxxxxxxxxx
- Make the macro insanity slightly less insane. [Paolo]

v1: https://lkml.kernel.org/r/20210316184436.2544875-1-seanjc@xxxxxxxxxx

Sean Christopherson (3):
KVM: nVMX: Handle dynamic MSR intercept toggling
KVM: VMX: Macrofy the MSR bitmap getters and setters
KVM: nVMX: Clean up x2APIC MSR handling for L2

arch/x86/kvm/vmx/nested.c | 164 +++++++++++++++-----------------------
arch/x86/kvm/vmx/vmx.c | 67 +---------------
arch/x86/kvm/vmx/vmx.h | 28 +++++++
3 files changed, 95 insertions(+), 164 deletions(-)

--
2.33.0.685.g46640cef36-goog