Re: [Qemu-devel] AioContext, IOthread and Block migration thread

2013-08-27 Thread Stefan Hajnoczi
On Mon, Aug 26, 2013 at 10:07:23AM -0500, Yaodong Yang wrote: > 1. Is it true that all the requests to disk images need to go through > function bdrv_co_do_readv() or bdrv_co_do_writev()? Yes, read/write requests go through those functions. > 2. In block-migration thread, the bdrv_co_do_readv is

[Qemu-devel] AioContext, IOthread and Block migration thread

2013-08-26 Thread Yaodong Yang
I'm a newer in QEMU, and I have the following questions: 1. Is it true that all the requests to disk images need to go through function bdrv_co_do_readv() or bdrv_co_do_writev()? 2. In block-migration thread, the bdrv_co_do_readv is also called to read blocks from disk images, in order to finis