# HG changeset patch
# User Kaitlin Rupert <karupert(a)us.ibm.com>
# Date 1205417729 25200
# Node ID 388332fc798482beb0349785003097054c4867dc
# Parent b739fc9b13320e07a39f3932396c8411c2d4ad75
(#2) Use live migration if MigrationType isn't defined in MSD.
Updates:
- Added DCO.
Signed-off-by: Kaitlin Rupert <karupert(a)us.ibm.com>
diff -r b739fc9b1332 -r 388332fc7984 src/Virt_VSMigrationService.c
--- a/src/Virt_VSMigrationService.c Tue Mar 11 13:28:04 2008 -0700
+++ b/src/Virt_VSMigrationService.c Thu Mar 13 07:15:29 2008 -0700
@@ -100,9 +100,8 @@ static CMPIStatus get_migration_type(CMP
ret = cu_get_u16_prop(msd, "MigrationType", type);
if (ret != CMPI_RC_OK) {
- cu_statusf(_BROKER, &s,
- ret,
- "Invalid MigrationType value");
+ CU_DEBUG("Using default MigrationType: %d", CIM_MIGRATE_LIVE);
+ *type = CIM_MIGRATE_LIVE;
}
return s;