[PATCH 0/2] KVM: x86: Fix SMM bugs for 32-bit guests/hosts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

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(-)

-- 
2.21.0




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux