]> 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)
commitcf970cc195ed5a6e9974025cdc0ef2ceb57cf4cd
treee0aca2b0d1d36addfdbac57fc61dd719f9db8bbc
parente8323ef82a12ce0940c258a448cf94dffb4d41d5
KVM: nSVM: fix a typo in svm_leave_nested

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

Fixes: 89fae6386b65 ("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