On 08/09/2012 07:14 AM, Jiri Denemark wrote:
s/Fixe/Fix/ in the subject
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c
index 74b70c7..f65c81a 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);
ACK.
--
Eric Blake eblake(a)redhat.com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org