Re: [Qemu-devel] [PATCH 0/3] block: fix 'savevm' hang with -object iothread

2017-05-17 Thread Paolo Bonzini


- Original Message -
> From: "Stefan Hajnoczi" <stefa...@redhat.com>
> To: qemu-devel@nongnu.org
> Cc: "Kevin Wolf" <kw...@redhat.com>, "Paolo Bonzini" <pbonz...@redhat.com>, 
> "Fam Zheng" <f...@redhat.com>, "Stefan
> Hajnoczi" <stefa...@redhat.com>, qemu-bl...@nongnu.org
> Sent: Wednesday, May 17, 2017 7:09:38 PM
> Subject: [Qemu-devel] [PATCH 0/3] block: fix 'savevm' hang with -object 
> iothread
> 
> 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.

Thanks for the fixes.

Reviewed-by: Paolo Bonzini <pbonz...@redhat.com>

> Stefan Hajnoczi (3):
>   block: count bdrv_co_rw_vmstate() requests
>   block: use BDRV_POLL_WHILE() in bdrv_rw_vmstate()
>   migration: avoid recursive AioContext locking in save_vmstate()
> 
>  block/io.c | 21 +
>  migration/savevm.c | 12 +++-
>  2 files changed, 24 insertions(+), 9 deletions(-)
> 
> --
> 2.9.3
> 
> 
> 



[Qemu-devel] [PATCH 0/3] block: fix 'savevm' hang with -object iothread

2017-05-17 Thread Stefan Hajnoczi
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 (3):
  block: count bdrv_co_rw_vmstate() requests
  block: use BDRV_POLL_WHILE() in bdrv_rw_vmstate()
  migration: avoid recursive AioContext locking in save_vmstate()

 block/io.c | 21 +
 migration/savevm.c | 12 +++-
 2 files changed, 24 insertions(+), 9 deletions(-)

-- 
2.9.3