Re: [Qemu-devel] [PATCH] dataplane: fix hang introduced by AioContext transition

2013-03-14 Thread Jens Freimann
On Wed, Mar 13, 2013 at 03:14:15PM +0100, Paolo Bonzini wrote: > The bug is that the EventNotifiers do have a NULL io_flush callback. > Because _none_ of the callbacks on the dataplane AioContext have such a > callback, aio_poll will simply do nothing. Fixed by adding the callbacks: > the ioeventf

Re: [Qemu-devel] [PATCH] dataplane: fix hang introduced by AioContext transition

2013-03-14 Thread Stefan Hajnoczi
On Wed, Mar 13, 2013 at 03:14:15PM +0100, Paolo Bonzini wrote: > The bug is that the EventNotifiers do have a NULL io_flush callback. > Because _none_ of the callbacks on the dataplane AioContext have such a > callback, aio_poll will simply do nothing. Fixed by adding the callbacks: > the ioeventf

[Qemu-devel] [PATCH] dataplane: fix hang introduced by AioContext transition

2013-03-13 Thread Paolo Bonzini
The bug is that the EventNotifiers do have a NULL io_flush callback. Because _none_ of the callbacks on the dataplane AioContext have such a callback, aio_poll will simply do nothing. Fixed by adding the callbacks: the ioeventfd will always be polled (this can change in the future to pause/resume