On 11/12/2011 11:08 AM, Andreas Färber wrote:

diff --git a/main-loop.c b/main-loop.c
index 60e9748..2ab5023 100644
--- a/main-loop.c
+++ b/main-loop.c
@@ -460,7 +460,7 @@ int main_loop_wait(int nonblocking)
      }

      glib_select_poll(&rfds,&wfds,&xfds, (ret<  0));
-    qemu_iohandler_poll(&rfds,&wfds,&xfds, ret);
+    qemu_iohandler_poll(&rfds,&wfds,&xfds, (ret<  0));
  #ifdef CONFIG_SLIRP
      slirp_select_poll(&rfds,&wfds,&xfds, (ret<  0));
  #endif

No, this is definitely wrong. :)  It will break all iohandlers.

Paolo

Reply via email to