]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: Lift sync_vmcs12() out of prepare_vmcs12()
authorSean Christopherson <sean.j.christopherson@intel.com>
Tue, 7 May 2019 15:36:26 +0000 (08:36 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 18 Jun 2019 09:46:06 +0000 (11:46 +0200)
commitf9af49d5fe5f80b24bb6e3353d3cae969898ce3f
tree55cda8d5524f13585db87d039fe472e8e3b48ac4
parent0db366bb117c69a7a4e5695265bdc949f6077c1e
KVM: nVMX: Lift sync_vmcs12() out of prepare_vmcs12()

... to make it more obvious that sync_vmcs12() is invoked on all nested
VM-Exits, e.g. hiding sync_vmcs12() in prepare_vmcs12() makes it appear
that guest state is NOT propagated to vmcs12 for a normal 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