diff mbox

qemu-kvm: Update kvm_check_many_ioeventfds for qemu-kvm use

Message ID 4D51BF71.3070808@web.de (mailing list archive)
State New, archived
Headers show

Commit Message

Jan Kiszka Feb. 8, 2011, 10:10 p.m. UTC
None
diff mbox

Patch

diff --git a/kvm-all.c b/kvm-all.c
index 0e404d6..44534bb 100644
--- a/kvm-all.c
+++ b/kvm-all.c
@@ -464,7 +464,7 @@  static int kvm_check_many_ioeventfds(void)
      * Older kernels have a 6 device limit on the KVM io bus.  Find out
so we
      * can avoid creating too many ioeventfds.
      */
-#if defined(CONFIG_EVENTFD) && defined(CONFIG_IOTHREAD)
+#if defined(CONFIG_EVENTFD) /* && defined(CONFIG_IOTHREAD) */
     int ioeventfds[7];
     int i, ret = 0;