
3 Dec
2015
3 Dec
'15
2:35 p.m.
Signed-off-by: Matthias Gatto <matthias.gatto@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 d0f7866..44ce90f 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -11834,7 +11834,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.2