kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] qemu-kvm: Update kvm_check_many_ioeventfds for qemu-kvm use
@ 2011-02-08 22:10 Jan Kiszka
  2011-02-15 13:56 ` Marcelo Tosatti
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2011-02-08 22:10 UTC (permalink / raw)
  To: Avi Kivity, Marcelo Tosatti; +Cc: kvm, Michael S. Tsirkin, Stefan Hajnoczi

From: Jan Kiszka <jan.kiszka@siemens.com>

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@siemens.com>
---
 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] qemu-kvm: Update kvm_check_many_ioeventfds for qemu-kvm use
  2011-02-08 22:10 [PATCH] qemu-kvm: Update kvm_check_many_ioeventfds for qemu-kvm use Jan Kiszka
@ 2011-02-15 13:56 ` Marcelo Tosatti
  0 siblings, 0 replies; 2+ messages in thread
From: Marcelo Tosatti @ 2011-02-15 13:56 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: Avi Kivity, kvm, Michael S. Tsirkin, Stefan Hajnoczi

On Tue, Feb 08, 2011 at 11:10:57PM +0100, Jan Kiszka wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
> 
> 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@siemens.com>
> ---
>  kvm-all.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-15 13:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-08 22:10 [PATCH] qemu-kvm: Update kvm_check_many_ioeventfds for qemu-kvm use Jan Kiszka
2011-02-15 13:56 ` Marcelo Tosatti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).