[PATCH 19/31] qemu: backup: Use format nodename accessors

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

 



Both modified cases in this patch require the effective nodename as they
deal with the data being backed up.

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 src/qemu/qemu_backup.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/qemu/qemu_backup.c b/src/qemu/qemu_backup.c
index e4db967e2c..857709b17e 100644
--- a/src/qemu/qemu_backup.c
+++ b/src/qemu/qemu_backup.c
@@ -335,9 +335,9 @@ qemuBackupDiskPrepareDataOnePush(virJSONValue *actions,
         syncmode = QEMU_MONITOR_TRANSACTION_BACKUP_SYNC_MODE_INCREMENTAL;

     if (qemuMonitorTransactionBackup(actions,
-                                     dd->domdisk->src->nodeformat,
+                                     qemuBlockStorageSourceGetEffectiveNodename(dd->domdisk->src),
                                      dd->blockjob->name,
-                                     dd->store->nodeformat,
+                                     qemuBlockStorageSourceGetEffectiveNodename(dd->store),
                                      dd->incrementalBitmap,
                                      syncmode) < 0)
         return -1;
@@ -355,9 +355,9 @@ qemuBackupDiskPrepareDataOnePull(virJSONValue *actions,
         dd->backupdisk->exportbitmap = g_strdup(dd->incrementalBitmap);

     if (qemuMonitorTransactionBackup(actions,
-                                     dd->domdisk->src->nodeformat,
+                                     qemuBlockStorageSourceGetEffectiveNodename(dd->domdisk->src),
                                      dd->blockjob->name,
-                                     dd->store->nodeformat,
+                                     qemuBlockStorageSourceGetEffectiveNodename(dd->store),
                                      NULL,
                                      QEMU_MONITOR_TRANSACTION_BACKUP_SYNC_MODE_NONE) < 0)
         return -1;
-- 
2.41.0




[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]

  Powered by Linux