]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: nSVM: restore the L1 host state prior to resuming nested guest on SMM exit
authorMaxim Levitsky <mlevitsk@redhat.com>
Mon, 13 Sep 2021 14:09:49 +0000 (17:09 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 22 Sep 2021 14:33:16 +0000 (10:33 -0400)
commitab2b18e6992403ebf52d4e9232a9569b4c51c47c
tree18f7e811da3f5415d37e57b122397aa29bf06998
parentdc2831e727ed79549548a2bfd17bdfc7c0fc25e1
KVM: x86: nSVM: restore the L1 host state prior to resuming nested guest on SMM exit

Otherwise guest entry code might see incorrect L1 state (e.g paging state).

Fixes: 6ca386f1de0e ("KVM: nSVM: Fix L1 state corruption upon return from SMM")
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20210913140954.165665-3-mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/svm.c