]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nSVM: fix a typo in svm_leave_nested
authorMaxim Levitsky <mlevitsk@redhat.com>
Mon, 3 May 2021 12:54:42 +0000 (15:54 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 3 May 2021 15:25:36 +0000 (11:25 -0400)
commitcba9af3393307e74d727bc39d59e85e570d0f30f
treee0aca2b0d1d36addfdbac57fc61dd719f9db8bbc
parented7cda6f3d80e9796feade5f17fa7d47bdf7aa40
KVM: nSVM: fix a typo in svm_leave_nested

When forcibly leaving the nested mode, we should switch to vmcb01

Fixes: c046ba886560 ("KVM: SVM: Use a separate vmcb for the nested L2 guest")
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20210503125446.1353307-2-mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/nested.c