From: Jiri Denemark Date: Thu, 2 Aug 2012 10:11:20 +0000 (+0200) Subject: qemu: Fix debug message in p2p migration X-Git-Tag: v0.10.0-rc1~180 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e18396f36d1e1557dc0b8f93bcf6a85d3cbe0b18;p=thirdparty%2Flibvirt.git qemu: Fix debug message in p2p migration When entering "confirm" phase, we are interested in the value of cancelled rather then ret variable which was interesting before "finish" phase and didn't change since then. --- diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c index 74b70c76cc..f65c81a4d8 100644 --- a/src/qemu/qemu_migration.c +++ b/src/qemu/qemu_migration.c @@ -2459,7 +2459,7 @@ finish: * If cancelled, then src VM will be restarted, else * it will be killed */ - VIR_DEBUG("Confirm3 %p ret=%d vm=%p", sconn, ret, vm); + VIR_DEBUG("Confirm3 %p cancelled=%d vm=%p", sconn, cancelled, vm); VIR_FREE(cookiein); cookiein = cookieout; cookieinlen = cookieoutlen;