diff mbox

Revert "qemu-kvm: Update kvm_check_many_ioeventfds for qemu-kvm use"

Message ID 4DE5FE3F.6090601@siemens.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jan Kiszka June 1, 2011, 8:54 a.m. UTC
This reverts commit cad7c5d76b30d30fc91dea049fef7340fd96ff3c.

We migrated to upstream io-thread, so this hack became obsolete.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 kvm-all.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Marcelo Tosatti June 3, 2011, 12:10 a.m. UTC | #1
On Wed, Jun 01, 2011 at 10:54:23AM +0200, Jan Kiszka wrote:
> This reverts commit cad7c5d76b30d30fc91dea049fef7340fd96ff3c.
> 
> We migrated to upstream io-thread, so this hack became obsolete.
> 
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>

Applied, thanks.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/kvm-all.c b/kvm-all.c
index f3958e8..cc2c73d 100644
--- a/kvm-all.c
+++ b/kvm-all.c
@@ -488,7 +488,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;
     for (i = 0; i < ARRAY_SIZE(ioeventfds); i++) {