]> asedeno.scripts.mit.edu Git - linux.git/commit
KVM: nVMX: Update vmcs12 for SYSENTER MSRs when they're written
authorSean Christopherson <sean.j.christopherson@intel.com>
Tue, 7 May 2019 16:06:36 +0000 (09:06 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 18 Jun 2019 09:47:37 +0000 (11:47 +0200)
commitde70d279709efb7d0b0c0dce2eb398fc43c4b7f6
treef2d0b7d2634705bf6db67de6db2f61d9af34a651
parent142e4be77bc629802599d7c94f413759bca1c185
KVM: nVMX: Update vmcs12 for SYSENTER MSRs when they're written

For L2, KVM always intercepts WRMSR to SYSENTER MSRs.  Update vmcs12 in
the WRMSR handler so that they don't need to be (re)read from vmcs02 on
every nested VM-Exit.

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