Re: [Qemu-devel] [PATCH] coroutine: use AioContext for CoQueue BH

2013-03-07 Thread Stefan Hajnoczi
On Wed, Mar 06, 2013 at 04:41:01PM +0100, Kevin Wolf wrote: > Am 06.03.2013 um 15:53 hat Stefan Hajnoczi geschrieben: > > CoQueue uses a BH to awake coroutines that were made ready to run again > > using qemu_co_queue_next() or qemu_co_queue_restart_all(). The BH > > currently runs in the iothread

Re: [Qemu-devel] [PATCH] coroutine: use AioContext for CoQueue BH

2013-03-07 Thread Stefan Hajnoczi
On Wed, Mar 06, 2013 at 04:03:49PM +0100, Paolo Bonzini wrote: > Il 06/03/2013 15:53, Stefan Hajnoczi ha scritto: > > CoQueue uses a BH to awake coroutines that were made ready to run again > > using qemu_co_queue_next() or qemu_co_queue_restart_all(). The BH > > currently runs in the iothread Aio

Re: [Qemu-devel] [PATCH] coroutine: use AioContext for CoQueue BH

2013-03-06 Thread Kevin Wolf
Am 06.03.2013 um 15:53 hat Stefan Hajnoczi geschrieben: > CoQueue uses a BH to awake coroutines that were made ready to run again > using qemu_co_queue_next() or qemu_co_queue_restart_all(). The BH > currently runs in the iothread AioContext and would break coroutines > that run in a different Aio

Re: [Qemu-devel] [PATCH] coroutine: use AioContext for CoQueue BH

2013-03-06 Thread Paolo Bonzini
Il 06/03/2013 15:53, Stefan Hajnoczi ha scritto: > CoQueue uses a BH to awake coroutines that were made ready to run again > using qemu_co_queue_next() or qemu_co_queue_restart_all(). The BH > currently runs in the iothread AioContext and would break coroutines > that run in a different AioContext