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

Message ID 20230413231914.1482782-1-seanjc@google.com
Headers
Series KVM: VMX: UMIP emulation related cleanups |

Message

Sean Christopherson April 13, 2023, 11:19 p.m. UTC
  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
  

Comments

Sean Christopherson June 2, 2023, 1:25 a.m. UTC | #1
On Thu, 13 Apr 2023 16:19:12 -0700, Sean Christopherson wrote:
> 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()
> 
> [...]

Applied to kvm-x86 vmx, thanks!

[1/2] KVM: VMX: Treat UMIP as emulated if and only if the host doesn't have UMIP
      https://github.com/kvm-x86/linux/commit/3243b93c16d9
[2/2] KVM: VMX: Use proper accessor to read guest CR4 in handle_desc()
      https://github.com/kvm-x86/linux/commit/023cfa6fc200

--
https://github.com/kvm-x86/linux/tree/next
https://github.com/kvm-x86/linux/tree/fixes