Signed-off-by: Matthias Gatto <matthias.gatto(a)outscale.com>
---
src/qemu/qemu_driver.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index 1ec0cf2..f70f1dd 100644
--- a/src/qemu/qemu_driver.c
+++ b/src/qemu/qemu_driver.c
@@ -11826,7 +11826,8 @@ qemuDomainGetBlockInfo(virDomainPtr dom,
goto endjob;
}
- if (virStorageSourceIsEmpty(disk->src)) {
+ if (!virStorageSourceIsRAID(disk->src) &&
+ virStorageSourceIsEmpty(disk->src)) {
virReportError(VIR_ERR_INVALID_ARG,
_("disk '%s' does not currently have a source
assigned"),
path);
--
2.6.1