[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 2/2] block/vxhs: set errp on iio_init() failure
From: |
Jeff Cody |
Subject: |
[Qemu-devel] [PATCH 2/2] block/vxhs: set errp on iio_init() failure |
Date: |
Thu, 4 May 2017 17:35:01 -0400 |
Signed-off-by: Jeff Cody <address@hidden>
---
block/vxhs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/block/vxhs.c b/block/vxhs.c
index 9ffe9d3..1f1e5db 100644
--- a/block/vxhs.c
+++ b/block/vxhs.c
@@ -301,6 +301,7 @@ static int vxhs_open(BlockDriverState *bs, QDict *options,
ret = vxhs_init_and_ref();
if (ret < 0) {
+ error_setg(&local_err, "libvxhs iio_init() failed");
ret = -EINVAL;
goto out;
}
--
2.9.3