[libvirt] [PATCH] COW storage volume compile fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Commit 2d4381d0 broke compilation for !HAVE_QEMU_IMG &&
HAVE_QCOW_CREATE.  Fix that.

Signed-off-by: Markus Armbruster <armbru@xxxxxxxxxx>
---
Compile-tested only.

diff --git a/src/storage_backend_fs.c b/src/storage_backend_fs.c
index 345dc40..0280c45 100644
--- a/src/storage_backend_fs.c
+++ b/src/storage_backend_fs.c
@@ -1130,7 +1130,7 @@ virStorageBackendFileSystemVolCreate(virConnectPtr conn,
                                   vol->target.format);
             return -1;
         }
-        if (vol->target.backingStore != NULL) {
+        if (vol->backingStore.path != NULL) {
             virStorageReportError(conn, VIR_ERR_NO_SUPPORT,
                                   _("copy-on-write image not supported with "
                                     "qcow-create"));

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]