# HG changeset patch
# User Dan Smith <danms(a)us.ibm.com>
# Date 1205785395 25200
# Node ID 4c26cc6ccb4f239d97ebfadd6f3913b54f52c9cd
# Parent 802a5fbe87ed0dff07f2dc75622a9e674d891156
Remove stale parameter in handle_migrate() function
Signed-off-by: Dan Smith <danms(a)us.ibm.com>
diff -r 802a5fbe87ed -r 4c26cc6ccb4f src/Virt_VSMigrationService.c
--- a/src/Virt_VSMigrationService.c Mon Mar 17 13:22:56 2008 -0700
+++ b/src/Virt_VSMigrationService.c Mon Mar 17 13:23:15 2008 -0700
@@ -854,7 +854,6 @@ static void migrate_job_set_state(struct
static CMPIStatus handle_migrate(virConnectPtr dconn,
virDomainPtr dom,
- char *uri,
int type,
struct migration_job *job)
{
@@ -878,7 +877,7 @@ static CMPIStatus handle_migrate(virConn
goto out;
}
- CU_DEBUG("Migrating %s -> %s", job->domain, uri);
+ CU_DEBUG("Migrating %s", job->domain);
ddom = virDomainMigrate(dom, dconn, type, NULL, NULL, 0);
if (ddom == NULL) {
CU_DEBUG("Migration failed");
@@ -999,12 +998,12 @@ static CMPIStatus migrate_vs(struct migr
break;
case CIM_MIGRATE_LIVE:
CU_DEBUG("Live migration");
- s = handle_migrate(job->conn, dom, uri, VIR_MIGRATE_LIVE, job);
+ s = handle_migrate(job->conn, dom, VIR_MIGRATE_LIVE, job);
break;
case CIM_MIGRATE_RESUME:
case CIM_MIGRATE_RESTART:
CU_DEBUG("Static migration");
- s = handle_migrate(job->conn, dom, uri, 0, job);
+ s = handle_migrate(job->conn, dom, 0, job);
break;
default:
CU_DEBUG("Unsupported migration type (%d)", job->type);