On Fri, Apr 07, 2017 at 02:54:09PM +0800, Fam Zheng wrote:
> bdrv_replace_child_noperm tries to hand over the quiesce_counter state
> from old bs to the new one, but if they are not on the same aio context
> this causes unbalance.
> 
> Fix this by setting the correct aio context before calling
> bdrv_append().
> 
> Reported-by: Ed Swierk <[email protected]>
> Reviewed-by: Eric Blake <[email protected]>
> Signed-off-by: Fam Zheng <[email protected]>
> ---
>  blockdev.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Stefan Hajnoczi <[email protected]>

Attachment: signature.asc
Description: PGP signature

Reply via email to