]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: Invert the ordering of saving guest/host scratch reg at VM-Enter
authorSean Christopherson <sean.j.christopherson@intel.com>
Fri, 25 Jan 2019 15:41:06 +0000 (07:41 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 12 Feb 2019 12:12:25 +0000 (13:12 +0100)
commitd227795ad57ec7baa1e22e6080247525e296bd16
treed00cf0b9fb832403cb21ed88b0464e0e7351b63f
parent547ab636457a75786f02d926b4af7f387b3f2778
KVM: VMX: Invert the ordering of saving guest/host scratch reg at VM-Enter

Switching the ordering allows for an out-of-line path for VM-Fail
that elides saving guest state but still shares the register clearing
with the VM-Exit path.

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