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)
commitdeee59bacb2402c20e6b1b6800f9a5127367eb2a
treee0aca2b0d1d36addfdbac57fc61dd719f9db8bbc
parent262de4102c7bb8e59f26a967a8ffe8cce85cc537
KVM: nSVM: fix a typo in svm_leave_nested

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

Fixes: 4995a3685f1b ("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