# HG changeset patch
# User Kaitlin Rupert <karupert(a)us.ibm.com>
# Date 1203463792 28800
# Node ID f932effa29a1878a03a0441e2792184e46caa018
# Parent b59709a9c0ae71d78399327d411e703b19080177
Update the get_migration_caps() calls to include new param.
This extra param indicates that the reference need to be validated.
Signed-off-by: Kaitlin Rupert <karupert(a)us.ibm.com>
diff -r b59709a9c0ae -r f932effa29a1 src/Virt_ElementCapabilities.c
--- a/src/Virt_ElementCapabilities.c Tue Feb 19 15:29:51 2008 -0800
+++ b/src/Virt_ElementCapabilities.c Tue Feb 19 15:29:52 2008 -0800
@@ -66,7 +66,7 @@ static CMPIStatus validate_caps_get_serv
s = get_vsms(ref, &_inst, _BROKER, false);
} else if (STREQC(classname, "VirtualSystemMigrationCapabilities")) {
- s = get_migration_caps(ref, &_inst, _BROKER);
+ s = get_migration_caps(ref, &_inst, _BROKER, true);
if ((s.rc != CMPI_RC_OK) || (_inst == NULL))
goto out;
@@ -107,7 +107,7 @@ static CMPIStatus validate_service_get_c
if ((s.rc != CMPI_RC_OK) || (_inst == NULL))
goto out;
- s = get_migration_caps(ref, &_inst, _BROKER);
+ s = get_migration_caps(ref, &_inst, _BROKER, false);
} else
cu_statusf(_BROKER, &s,
CMPI_RC_ERR_NOT_FOUND,
@@ -139,7 +139,7 @@ static CMPIStatus sys_to_cap(const CMPIO
if (s.rc == CMPI_RC_OK)
inst_list_add(list, inst);
- s = get_migration_caps(ref, &inst, _BROKER);
+ s = get_migration_caps(ref, &inst, _BROKER, false);
if (s.rc == CMPI_RC_OK)
inst_list_add(list, inst);