mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
qemu: backup: Use format nodename accessors
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@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
11567c1e50
commit
47bd985ebb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user