]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemu: Fix debug message in p2p migration
authorJiri Denemark <jdenemar@redhat.com>
Thu, 2 Aug 2012 10:11:20 +0000 (12:11 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 9 Aug 2012 13:37:05 +0000 (15:37 +0200)
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.

src/qemu/qemu_migration.c

index 74b70c76ccf76ef1b6479eb526cfcaedf37ed96d..f65c81a4d8008714614b17eb60f9663d63b6404d 100644 (file)
@@ -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;