[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH for-2.9] block: Propagate error in bdrv_open_bac
From: |
Alberto Garcia |
Subject: |
Re: [Qemu-block] [PATCH for-2.9] block: Propagate error in bdrv_open_backing_file |
Date: |
Fri, 17 Mar 2017 10:31:37 +0100 |
User-agent: |
Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1 (i586-pc-linux-gnu) |
On Fri 17 Mar 2017 02:56:30 AM CET, Fam Zheng wrote:
> Signed-off-by: Fam Zheng <address@hidden>
> ---
> block.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/block.c b/block.c
> index cb57370..6621167 100644
> --- a/block.c
> +++ b/block.c
> @@ -2025,6 +2025,7 @@ int bdrv_open_backing_file(BlockDriverState *bs, QDict
> *parent_options,
> bdrv_set_backing_hd(bs, backing_hd, &local_err);
> bdrv_unref(backing_hd);
> if (local_err) {
> + error_propagate(errp, local_err);
> ret = -EINVAL;
> goto free_exit;
> }
Reviewed-by: Alberto Garcia <address@hidden>
Berto