From: Michal Privoznik Date: Thu, 2 Apr 2015 14:34:01 +0000 (+0200) Subject: qemuMigrationPrecreateStorage: Fix debug message X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=65a88572ad06a96e206ec6d8549cf31827327b40;p=libvirt.git qemuMigrationPrecreateStorage: Fix debug message When pre-creating storage for domains, we need to find corresponding disk in the XML on the destination (domain XML may differ there, e.g. disk is accessible under different path). For better debugging, I'm printing all info I received on a disk. But there was a typo when printing the disk capacity: "%lluu" instead of "%llu". Signed-off-by: Michal Privoznik --- diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c index b597c80ee2..6852f79e6d 100644 --- a/src/qemu/qemu_migration.c +++ b/src/qemu/qemu_migration.c @@ -1581,7 +1581,7 @@ qemuMigrationPrecreateStorage(virConnectPtr conn, int indx; const char *diskSrcPath; - VIR_DEBUG("Looking up disk target '%s' (capacity=%lluu)", + VIR_DEBUG("Looking up disk target '%s' (capacity=%llu)", nbd->disks[i].target, nbd->disks[i].capacity); if ((indx = virDomainDiskIndexByName(vm->def,