On Tue, Aug 21, 2012 at 5:39 PM, ronnie sahlberg <ronniesahlb...@gmail.com> wrote: > In > net_socket_update_fd_handler() > > shouldnt you call qemu_notify_event() if any of the handlers have > changed from NULL to non-NULL ? > or else it might take a while before the change takes effect.
In this case it's not necessary: net_socket_send()/net_socket_send_dgram()/net_socket_writable() are called as fd handlers and therefore we know the event loop isn't stuck in select(2). Stefan