qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/4] block: fix 'savevm' hang with -object iothread
@ 2017-05-19 10:32 Stefan Hajnoczi
  2017-05-19 10:32 ` [Qemu-devel] [PATCH v2 1/4] block: count bdrv_co_rw_vmstate() requests Stefan Hajnoczi
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Stefan Hajnoczi @ 2017-05-19 10:32 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-block, Paolo Bonzini, Kevin Wolf, Fam Zheng, Stefan Hajnoczi

v2:
 * New patch to use bdrv_drain_all_begin/end() in savevm/loadvm [Kevin]
   (All other patches unchanged)

The 'savevm' command hangs when -object iothread is used.  See patches for
details, but basically the vmstate read/write code didn't conform to the latest
block layer locking rules.

Stefan Hajnoczi (4):
  block: count bdrv_co_rw_vmstate() requests
  block: use BDRV_POLL_WHILE() in bdrv_rw_vmstate()
  migration: avoid recursive AioContext locking in save_vmstate()
  migration: use bdrv_drain_all_begin/end() instead bdrv_drain_all()

 block/io.c         | 21 +++++++++++++--------
 migration/savevm.c | 21 +++++++++++++++++++--
 2 files changed, 32 insertions(+), 10 deletions(-)

-- 
2.9.3

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

end of thread, other threads:[~2017-05-22 13:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-19 10:32 [Qemu-devel] [PATCH v2 0/4] block: fix 'savevm' hang with -object iothread Stefan Hajnoczi
2017-05-19 10:32 ` [Qemu-devel] [PATCH v2 1/4] block: count bdrv_co_rw_vmstate() requests Stefan Hajnoczi
2017-05-19 10:32 ` [Qemu-devel] [PATCH v2 2/4] block: use BDRV_POLL_WHILE() in bdrv_rw_vmstate() Stefan Hajnoczi
2017-05-19 10:32 ` [Qemu-devel] [PATCH v2 3/4] migration: avoid recursive AioContext locking in save_vmstate() Stefan Hajnoczi
2017-05-19 10:32 ` [Qemu-devel] [PATCH v2 4/4] migration: use bdrv_drain_all_begin/end() instead bdrv_drain_all() Stefan Hajnoczi
2017-05-22 12:17   ` Kevin Wolf
2017-05-22 13:39     ` 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).