[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PULL 6/8] block: Propagate error in bdrv_open_backing_file
From: |
Kevin Wolf |
Subject: |
[Qemu-block] [PULL 6/8] block: Propagate error in bdrv_open_backing_file |
Date: |
Fri, 17 Mar 2017 14:15:44 +0100 |
From: Fam Zheng <address@hidden>
Signed-off-by: Fam Zheng <address@hidden>
Reviewed-by: Alberto Garcia <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
---
block.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/block.c b/block.c
index a77e8a0..e538084 100644
--- a/block.c
+++ b/block.c
@@ -2030,6 +2030,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;
}
--
1.8.3.1
- [Qemu-block] [PULL 0/8] Block layer fixes for 2.9.0-rc1, Kevin Wolf, 2017/03/17
- [Qemu-block] [PULL 1/8] file-posix: clean up max_segments buffer termination, Kevin Wolf, 2017/03/17
- [Qemu-block] [PULL 2/8] replication: clarify permissions, Kevin Wolf, 2017/03/17
- [Qemu-block] [PULL 5/8] blockdev: fix bitmap clear undo, Kevin Wolf, 2017/03/17
- [Qemu-block] [PULL 6/8] block: Propagate error in bdrv_open_backing_file,
Kevin Wolf <=
- [Qemu-block] [PULL 3/8] file-posix: Don't leak fd in hdev_get_max_segments, Kevin Wolf, 2017/03/17
- [Qemu-block] [PULL 7/8] thread-pool: add missing qemu_bh_cancel in completion function, Kevin Wolf, 2017/03/17
- [Qemu-block] [PULL 4/8] block: Always call bdrv_child_check_perm first, Kevin Wolf, 2017/03/17
- [Qemu-block] [PULL 8/8] block: quiesce AioContext when detaching from it, Kevin Wolf, 2017/03/17
- Re: [Qemu-block] [Qemu-devel] [PULL 0/8] Block layer fixes for 2.9.0-rc1, Peter Maydell, 2017/03/17