qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] AioContext, IOthread and Block migration thread
@ 2013-08-26 15:07 Yaodong Yang
  2013-08-27  7:52 ` Stefan Hajnoczi
  0 siblings, 1 reply; 2+ messages in thread
From: Yaodong Yang @ 2013-08-26 15:07 UTC (permalink / raw)
  To: qemu-devel@nongnu.org; +Cc: 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 finish migration. How do migration thread and IOthread cooperate with each other? there is an coroutine created inside migration thread and a new botoom half created for this purpose, but I do not understand well about it. Could someone explain it for me?

3. What is the meaning of copy on read ?

Thanks!
Yaodong

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-27  7:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-26 15:07 [Qemu-devel] AioContext, IOthread and Block migration thread Yaodong Yang
2013-08-27  7:52 ` Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).