qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [PATCH v19 08/10] Implement new driver for block replic


From: Stefan Hajnoczi
Subject: Re: [Qemu-block] [PATCH v19 08/10] Implement new driver for block replication
Date: Mon, 30 May 2016 11:14:16 -0700
User-agent: Mutt/1.6.1 (2016-04-27)

On Fri, May 20, 2016 at 03:36:18PM +0800, Changlong Xie wrote:
> +        /* start backup job now */
> +        error_setg(&s->blocker,
> +                   "block device is in use by internal backup job");
> +
> +        top_bs = bdrv_lookup_bs(s->top_id, s->top_id, errp);
> +        if (!top_bs || !check_top_bs(top_bs, bs)) {
> +            reopen_backing_file(s, false, NULL);
> +            aio_context_release(aio_context);
> +            return;
> +        }

Missing error_setg() with an error message when check_top_bs() fails.

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]