]> 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)
commitd916b9ac91c306f300b49b7c9f5dc9a7f2023eef
treed00cf0b9fb832403cb21ed88b0464e0e7351b63f
parentac08c35cdde7ccbcfaa2dba30706aa6362f2e093
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