提交 65a88572 编写于 作者: M Michal Privoznik

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: NMichal Privoznik <mprivozn@redhat.com>
上级 522e81cb
...@@ -1581,7 +1581,7 @@ qemuMigrationPrecreateStorage(virConnectPtr conn, ...@@ -1581,7 +1581,7 @@ qemuMigrationPrecreateStorage(virConnectPtr conn,
int indx; int indx;
const char *diskSrcPath; 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); nbd->disks[i].target, nbd->disks[i].capacity);
if ((indx = virDomainDiskIndexByName(vm->def, if ((indx = virDomainDiskIndexByName(vm->def,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册