From: Nikolay Shirokovskiy Date: Fri, 2 Oct 2015 07:52:45 +0000 (+0300) Subject: migration: refactor: rename uri parameter to miguri X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=5c239b3a2f575600790da479c7e05a9bb16ee9d6;p=people%2Fliuw%2Flibxenctrl-split%2Flibvirt.git migration: refactor: rename uri parameter to miguri We use miguri name for this parameter in other places. So make naming more consitent. Signed-off-by: Nikolay Shirokovskiy --- diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c index 930ff62bd..6538fcbc8 100644 --- a/src/libvirt-domain.c +++ b/src/libvirt-domain.c @@ -3330,13 +3330,13 @@ virDomainMigratePeer2PeerPlain(virDomainPtr domain, unsigned int flags, const char *dname, const char *dconnuri, - const char *uri, + const char *miguri, unsigned long long bandwidth) { VIR_DOMAIN_DEBUG(domain, - "dconnuri=%s, xmlin=%s, dname=%s, uri=%s, bandwidth=%llu " - "flags=%x", - dconnuri, NULLSTR(xmlin), NULLSTR(dname), NULLSTR(uri), + "dconnuri=%s, xmlin=%s, dname=%s, migrui=%s, " + "bandwidth=%llu, flags=%x", + dconnuri, NULLSTR(xmlin), NULLSTR(dname), NULLSTR(miguri), bandwidth, flags); if (virDomainMigrateCheckNotLocal(dconnuri) < 0) @@ -3351,7 +3351,7 @@ virDomainMigratePeer2PeerPlain(virDomainPtr domain, } return domain->conn->driver->domainMigratePerform3 (domain, xmlin, NULL, 0, NULL, NULL, dconnuri, - uri, flags, dname, bandwidth); + miguri, flags, dname, bandwidth); } else { VIR_DEBUG("Using migration protocol 2"); if (!domain->conn->driver->domainMigratePerform) { @@ -3364,7 +3364,7 @@ virDomainMigratePeer2PeerPlain(virDomainPtr domain, "migration")); return -1; } - if (uri) { + if (miguri) { virReportError(VIR_ERR_INTERNAL_ERROR, "%s", _("Unable to override peer2peer migration URI")); return -1;