Re: [Qemu-block] [PATCH 11/18] aio: introduce qemu_get_current_aio_context

2016-10-16 Thread Stefan Hajnoczi
On Thu, Oct 13, 2016 at 07:34:15PM +0200, Paolo Bonzini wrote: > This will be used by bdrv_poll_while (and thus by bdrv_drain) > to choose how to wait for I/O completion. > > Reviewed-by: Fam Zheng > Signed-off-by: Paolo Bonzini > --- > include/block/aio.h

[Qemu-block] [PATCH 11/18] aio: introduce qemu_get_current_aio_context

2016-10-13 Thread Paolo Bonzini
This will be used by bdrv_poll_while (and thus by bdrv_drain) to choose how to wait for I/O completion. Reviewed-by: Fam Zheng Signed-off-by: Paolo Bonzini --- include/block/aio.h | 15 +++ iothread.c | 9 +