]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nSVM: leave the guest mode prior to loading a nested state
authorMaxim Levitsky <mlevitsk@redhat.com>
Mon, 3 May 2021 12:54:44 +0000 (15:54 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 3 May 2021 15:25:38 +0000 (11:25 -0400)
commit43bd07867ed4114be9d5ea38a09b7284485a9c0a
tree6b8e63f46754273a9c060c23687751fd6c2bbcb4
parentf1a7822441062a11db88efb5d4c779404462ffe4
KVM: nSVM: leave the guest mode prior to loading a nested state

This allows the KVM to load the nested state more than
once without warnings.

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