]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nSVM: extract preparation of VMCB for nested run
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 18 May 2020 14:56:43 +0000 (10:56 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 1 Jun 2020 08:25:58 +0000 (04:25 -0400)
commit11e6e0b80f6081adffcac7d24a90930eacc7b668
tree4d9ac1724a38a109c9599eaf453f4c61b5fc1f83
parent7634cf5cc9e43df4e39ed4a0e5102bed7289e2d2
KVM: nSVM: extract preparation of VMCB for nested run

Split out filling svm->vmcb.save and svm->vmcb.control before VMRUN.
Only the latter will be useful when restoring nested SVM state.

This patch introduces no semantic change, so the MMU setup is still
done in nested_prepare_vmcb_save.  The next patch will clean up things.

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