]> 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)
commit7d7e1fb186732073669ee1bd985ec9985dfe2fba
tree18f7e811da3f5415d37e57b122397aa29bf06998
parent480b33bb9c334363a988b7e6c9813ad4bfccda45
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: 31b7e7c565e4 ("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