From: Jan Kiszka <jan.kiszka@xxxxxxxxxxx> qemu-kvm does not (yet) have CONFIG_IOTHREAD enabled. Without it, kvm_check_many_ioeventfds will always fail although there is no reason. Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxxxxxxx> --- kvm-all.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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; for (i = 0; i < ARRAY_SIZE(ioeventfds); i++) { -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html