[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PATCH for-2.9] block: Propagate error in bdrv_open_backing
From: |
Fam Zheng |
Subject: |
[Qemu-block] [PATCH for-2.9] block: Propagate error in bdrv_open_backing_file |
Date: |
Fri, 17 Mar 2017 09:56:30 +0800 |
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;
}
--
2.9.3
- [Qemu-block] [PATCH for-2.9] block: Propagate error in bdrv_open_backing_file,
Fam Zheng <=