On Mon, May 11, 2015 at 07:04:24PM -0400, John Snow wrote:
> @@ -1825,6 +1827,19 @@ static void drive_backup_prepare(BlkActionState 
> *common, Error **errp)
>      }
>      bs = blk_bs(blk);
>  
> +    /* BackupBlockJob is opaque to us, so look up the bitmap ourselves */
> +    if (backup->has_bitmap) {
> +        bmap = bdrv_find_dirty_bitmap(bs, backup->bitmap);

This usage of bs needs to be inside aio_context_acquire().

Attachment: pgpN_yt9G3b2X.pgp
Description: PGP signature

Reply via email to