]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu: migration: Mention disk target rather than the drive name in debug msg
authorPeter Krempa <pkrempa@redhat.com>
Fri, 6 Dec 2019 17:44:22 +0000 (18:44 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 9 Dec 2019 06:11:24 +0000 (07:11 +0100)
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
src/qemu/qemu_migration.c

index 8bf23e9f308d1ca6aa35f00b674c06e311a79cce..27023c94b1698e6b8a85fa7d6ceefc8fba5aad0c 100644 (file)
@@ -829,7 +829,7 @@ qemuMigrationSrcNBDStorageCopyBlockdev(virQEMUDriverPtr driver,
     int mon_ret = 0;
     g_autoptr(virStorageSource) copysrc = NULL;
 
-    VIR_DEBUG("starting blockdev mirror for disk=%s to host=%s", diskAlias, host);
+    VIR_DEBUG("starting blockdev mirror for disk=%s to host=%s", disk->dst, host);
 
     if (!(copysrc = qemuMigrationSrcNBDStorageCopyBlockdevPrepareSource(disk, host, port, tlsAlias)))
         return -1;