Skip to contentSkip to conversation

KVM: x86: Fix SMM bugs for 32-bit guests/hosts

PATCH Paolo Bonzini 1 participant 1 message Apr 10, 2019 1 message not in the archive KVM

lore
Share & tools
lore

Paolo Bonzini

author maintainer Applied
#1 lore raw
In reply to a message not in the archive
Quoted 5 lines · Sean Christopherson

Fix two tangentially related bugs that manifest when the guest's long mode capabilities diverges from the host kernel's support, i.e. a 32-bit vCPU running under 64-bit KVM, or a (not-actually-supported) 64-bit vCPU running under 32-bit KVM.

Quoted 8 lines

Sean Christopherson (2):
KVM: x86: Don't clear EFER during SMM transitions for 32-bit vCPU
KVM: x86: Always use 32-bit SMRAM save state for 32-bit kernels

 arch/x86/kvm/emulate.c | 31 +++++++++++++++++++++----------
 arch/x86/kvm/x86.c     | 10 ++++++----
 2 files changed, 27 insertions(+), 14 deletions(-)

Queued, thanks.

Paolo