]> git.proxmox.com Git - qemu.git/blobdiff - configure
kvm: Fix race between timer signals and vcpu entry under !IOTHREAD
[qemu.git] / configure
index 598e8e1ebb0fb1634b565fdcaf8199b3a67f5bf6..a3f53456f4e0cfbd05e3bd99d781491f591b872e 100755 (executable)
--- a/configure
+++ b/configure
@@ -2057,6 +2057,12 @@ EOF
 
 if compile_prog "" "" ; then
   signalfd=yes
+elif test "$kvm" = "yes" -a "$io_thread" != "yes"; then
+  echo
+  echo "ERROR: Host kernel lacks signalfd() support,"
+  echo "but KVM depends on it when the IO thread is disabled."
+  echo
+  exit 1
 fi
 
 # check if eventfd is supported