Re: [Qemu-devel] [PATCH v4 2/6] virtio: Introduce virtio_add_queue_aio

2016-07-13 Thread Cornelia Huck
On Wed, 13 Jul 2016 13:09:44 +0800 Fam Zheng wrote: > Using this function instead of virtio_add_queue marks the vq as aio > based. This differentiation will be useful in later patches. > > Distinguish between virtqueue processing in the iohandler context and main > loop > AioContext. iohandler

[Qemu-devel] [PATCH v4 2/6] virtio: Introduce virtio_add_queue_aio

2016-07-12 Thread Fam Zheng
Using this function instead of virtio_add_queue marks the vq as aio based. This differentiation will be useful in later patches. Distinguish between virtqueue processing in the iohandler context and main loop AioContext. iohandler context is isolated from AioContexts and therefore does not run du