From 276ce81563aeadea5493fbc4fbc84647d5bfbdeb Mon Sep 17 00:00:00 2001 From: Lai Jiangshan Date: Fri, 10 Dec 2010 15:42:53 +0800 Subject: kvm: Enable user space NMI injection for kvm guest Make use of the new KVM_NMI IOCTL to send NMIs into the KVM guest if the user space raised them. (example: qemu monitor's "nmi" command) Signed-off-by: Lai Jiangshan Acked-by: Jan Kiszka Signed-off-by: Marcelo Tosatti --- configure | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 210670c..9a02d1f 100755 --- a/configure +++ b/configure @@ -1671,6 +1671,9 @@ if test "$kvm" != "no" ; then #if !defined(KVM_CAP_DESTROY_MEMORY_REGION_WORKS) #error Missing KVM capability KVM_CAP_DESTROY_MEMORY_REGION_WORKS #endif +#if !defined(KVM_CAP_USER_NMI) +#error Missing KVM capability KVM_CAP_USER_NMI +#endif int main(void) { return 0; } EOF if test "$kerneldir" != "" ; then -- cgit v1.1