]> www.infradead.org Git - users/dwmw2/linux.git/commit
KVM: nSVM: always use vmcb01 to for vmsave/vmload of guest state
authorMaxim Levitsky <mlevitsk@redhat.com>
Wed, 10 Feb 2021 16:54:36 +0000 (18:54 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 26 Feb 2021 13:36:07 +0000 (08:36 -0500)
commit045ea23e35485f10e74223b9dba013c91e6a4e1e
tree9729a342fa8b1462cb5bf481ddff731bb4c75e21
parent42486f4bd16d2651a3e34df7f213d95fddaf14d8
KVM: nSVM: always use vmcb01 to for vmsave/vmload of guest state

This allows to avoid copying of these fields between vmcb01
and vmcb02 on nested guest entry/exit.

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