Re: [Qemu-devel] [RFC PATCH v2 13/13] iohandler: Use AioContext internally

2015-05-14 Thread Paolo Bonzini
On 14/05/2015 06:35, Fam Zheng wrote: > Sorry, please skip this one for now (overlooked before sending), it's not safe > to include iohandler fds in nested aio_poll, at least until the "device IO" op > blocker patches are in. That's what I was going to ask. :) Still, good job! And for Win32 we

Re: [Qemu-devel] [RFC PATCH v2 13/13] iohandler: Use AioContext internally

2015-05-13 Thread Fam Zheng
On Thu, 05/14 11:34, Fam Zheng wrote: > AioContext and iohandler share the same concept except that AioContext > is more generalized - it runs on an AioContext which could be on the > main thread or an iothread. Similar to the relation of qemu_bh_new and > aio_bh_new, the iohandler is the special c

[Qemu-devel] [RFC PATCH v2 13/13] iohandler: Use AioContext internally

2015-05-13 Thread Fam Zheng
AioContext and iohandler share the same concept except that AioContext is more generalized - it runs on an AioContext which could be on the main thread or an iothread. Similar to the relation of qemu_bh_new and aio_bh_new, the iohandler is the special case of AioContext which happens to run on the