commit | 37687c403a641f251cb2ef2e7830b88aa0647ba9 | [log] [tgz] |
---|---|---|
author | Maxim Levitsky <mlevitsk@redhat.com> | Mon Sep 13 17:09:50 2021 +0300 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Wed Sep 22 10:33:16 2021 -0400 |
tree | e38f1ba8c0b441699b83c47843eae19164b65f78 | |
parent | e2e6e449d68ddf4ccb0bf72cc50fbc6c69fe7f63 [diff] |
KVM: x86: reset pdptrs_from_userspace when exiting smm When exiting SMM, pdpts are loaded again from the guest memory. This fixes a theoretical bug, when exit from SMM triggers entry to the nested guest which re-uses some of the migration code which uses this flag as a workaround for a legacy userspace. Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com> Message-Id: <20210913140954.165665-4-mlevitsk@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>