libvirt-domain: fix dxml passing in virDomainMigrateToURI2

The refactoring in commit a26669d silently ignored the dxml
parameter of virDomainMigrateToURI2.

https://bugzilla.redhat.com/show_bug.cgi?id=1295405
This commit is contained in:
Ján Tomko 2016-01-05 13:35:48 +01:00
parent 5834527136
commit 488222800e

View File

@ -4404,7 +4404,7 @@ virDomainMigrateToURI2(virDomainPtr domain,
else else
dconnuri = NULL; dconnuri = NULL;
if (virDomainMigrateUnmanaged(domain, NULL, flags, if (virDomainMigrateUnmanaged(domain, dxml, flags,
dname, dconnuri, miguri, bandwidth) < 0) dname, dconnuri, miguri, bandwidth) < 0)
goto error; goto error;