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(a)redhat.com>
---
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