]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.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>
Mon, 15 Mar 2021 08:43:24 +0000 (04:43 -0400)
commitcc3ed80ae69f454c3d904af9f65394a540099723
treee509bb227a46ce0546fd003de867174f44947905
parentfb0c4a4fee5a35b4e531b57e42231868d1fedb18
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