Fix argument order of qemuMigrationPerformJob().

@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>
This commit is contained in:
Minoru Usui 2014-01-07 01:03:17 +00:00 committed by Ján Tomko
parent aef39eb021
commit bcd0ac47d8

View 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,