KVM: x86: Fix SMM bugs for 32-bit guests/hosts
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 kernelsarch/x86/kvm/emulate.c | 31 +++++++++++++++++++++---------- arch/x86/kvm/x86.c | 10 ++++++---- 2 files changed, 27 insertions(+), 14 deletions(-)
Queued, thanks.
Paolo