]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: Use accessors for GPRs outside of dedicated caching logic
authorSean Christopherson <sean.j.christopherson@intel.com>
Tue, 30 Apr 2019 17:36:19 +0000 (10:36 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 30 Apr 2019 19:56:27 +0000 (21:56 +0200)
commit3d75291e3a1154c38a82d792a5785f93de603d36
tree744869082ab53976a950209ad2eeac0abc1a68b5
parent1f2eea6544f1021168980e8c95dac3994b98c6e6
KVM: VMX: Use accessors for GPRs outside of dedicated caching logic

... now that there is no overhead when using dedicated accessors.

Opportunistically remove a bogus "FIXME" in handle_rdmsr() regarding
the upper 32 bits of RAX and RDX.  Zeroing the upper 32 bits is
architecturally correct as 32-bit writes in 64-bit mode unconditionally
clear the upper 32 bits.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/nested.c
arch/x86/kvm/vmx/vmx.c