]> xenbits.xensource.com Git - libvirt.git/commitdiff
Fix argument order of qemuMigrationPerformJob().
authorMinoru Usui <usui@mxm.nes.nec.co.jp>
Tue, 7 Jan 2014 01:03:17 +0000 (01:03 +0000)
committerJán Tomko <jtomko@redhat.com>
Tue, 7 Jan 2014 12:59:50 +0000 (13:59 +0100)
@listenAddress and @cookiein arguments, should be exchanged,
because the order of the caller and the callee does not match.

This results in the listen address being ignored for peer-to-peer
migration and the cookie being ignored for v2 migration.

Introduced by c4ac7ef (v1.1.4-rc1~141).

https://bugzilla.redhat.com/show_bug.cgi?id=1049338

Signed-off-by: Minoru Usui <usui@mxm.nes.nec.co.jp>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_migration.c

index 9342062afbd1f8503d193b926860854f5723baa1..53a4ae6a348ebbef35d4717cfbb44989b9940590 100644 (file)
@@ -4045,8 +4045,8 @@ qemuMigrationPerformJob(virQEMUDriverPtr driver,
                         const char *dconnuri,
                         const char *uri,
                         const char *graphicsuri,
-                        const char *cookiein,
                         const char *listenAddress,
+                        const char *cookiein,
                         int cookieinlen,
                         char **cookieout,
                         int *cookieoutlen,