]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: VMX: require virtual NMI support
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 27 Mar 2017 12:37:28 +0000 (14:37 +0200)
committerKrish Sadhukhan <krish.sadhukhan@oracle.com>
Thu, 2 Nov 2017 17:30:25 +0000 (13:30 -0400)
commit8e880397202ca8348a2f09272d836140981ff336
treefd97672b77e70e33c7516feb082f4ecac8f23ce9
parentf1405c51c94d72a1b437a5f132001cc78334cb0a
KVM: VMX: require virtual NMI support

Virtual NMIs are only missing in Prescott and Yonah chips.  Both are obsolete
for virtualization usage---Yonah is 32-bit only even---so drop vNMI emulation.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 2c82878b0cb38fd516fd612c67852a6bbf282003. It is a
partical cherry-pick in that PIN_BASED_VMX_PREEMPTION_TIMER in
setup_vmcs_config in file arch/x86/kvm/vmx.c has been omitted due to two things:
 - it being not required in the fix for bug 27031246 (which is about NMIs)
 - no need as we do not have commit 64672c95ea4c2f7096e519e826076867e8ef0938
   (kvm: vmx: hook preemption timer support) backported in UEK4.)
OraBug: 27031246 nested virt: L2 windows guest reboot hangs with L1 KVM hypervisor
Signed-off-by: Liran Alon <liran.alon@oracle.com>
Signed-off-by: Krish Sadhukhan <krish.sadhukhan@oracle.com>
Tested-by: Xuan Bai <xuan.bai@oracle.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/kvm/vmx.c