It turns out that Core 2 Duo machines only had virtual NMIs in some SKUs. Patch 1 adds back emulation of the NMI window, patch 2 allows testing it on modern processors as well. One eventinj.flat test (NMI after iret) fails as expected. Paolo Paolo Bonzini (2): kvm: vmx: Reinstate virtual NMI support kvm: vmx: Allow disabling virtual NMI support arch/x86/kvm/vmx.c | 161 ++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 117 insertions(+), 44 deletions(-) -- 1.8.3.1