]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nSVM: synchronize VMCB controls updated by the processor on every vmexit
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 22 May 2020 07:50:14 +0000 (03:50 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 1 Jun 2020 08:26:00 +0000 (04:26 -0400)
commit1e2a53ebb6884a86c291946803ae5c63b27111cd
tree1dd320fe1f9582f163333ca8527a9541783828d3
parent998237dd97289f8b9d216a3c17333315a4e834e3
KVM: nSVM: synchronize VMCB controls updated by the processor on every vmexit

The control state changes on every L2->L0 vmexit, and we will have to
serialize it in the nested state.  So keep it up to date in svm->nested.ctl
and just copy them back to the nested VMCB in nested_svm_vmexit.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/nested.c
arch/x86/kvm/svm/svm.c
arch/x86/kvm/svm/svm.h