[PATCH 0/2] KVM: VMX: UMIP emulation related cleanups

From: Sean Christopherson
Date: Thu Apr 13 2023 - 19:20:01 EST


Two cleanups for UMIP related code, identified by Robert. These are
*almost* purely cosmetic, I don't expect any functional impact on real
world setups.

Sean Christopherson (2):
KVM: VMX: Treat UMIP as emulated if and only if the host doesn't have
UMIP
KVM: VMX: Use proper accessor to read guest CR4 in handle_desc()

arch/x86/kvm/vmx/capabilities.h | 4 ++--
arch/x86/kvm/vmx/nested.c | 3 +--
arch/x86/kvm/vmx/vmx.c | 10 ++++++++--
3 files changed, 11 insertions(+), 6 deletions(-)


base-commit: 4d663d83a561344d237c77a77b651f55eb7f7356
--
2.40.0.634.g4ca3ef3211-goog