]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: vmx: Allow disabling virtual NMI support
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 6 Nov 2017 12:31:13 +0000 (13:31 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 17 Nov 2017 12:20:07 +0000 (13:20 +0100)
commit1d5c5cce6922865487f829b40c466334fd537558
tree092585a3c0b27288f92ffdbea3895b8bc8c2a7a7
parent63e7c6c08584bb86d7f68184e4b6c9a7a20e0122
kvm: vmx: Allow disabling virtual NMI support

To simplify testing of these rarely used code paths, add a module parameter
that turns it on.  One eventinj.flat test (NMI after iret) fails when
loading kvm_intel with vnmi=0.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/vmx.c