# HG changeset patch
# User Kaitlin Rupert <karupert(a)us.ibm.com>
# Date 1202919397 28800
# Node ID 30beb44bdb1ffb789a031bd860e316f1e500abbb
# Parent 88e4cf39a5b342606d6a126c429eb9f0f1c38ab8
Update calls to get_vsms() to include value for new is_get_inst param.
Signed-off-by: Kaitlin Rupert <karupert(a)us.ibm.com>
diff -r 88e4cf39a5b3 -r 30beb44bdb1f src/Virt_ElementCapabilities.c
--- a/src/Virt_ElementCapabilities.c Wed Feb 13 08:14:07 2008 -0800
+++ b/src/Virt_ElementCapabilities.c Wed Feb 13 08:16:37 2008 -0800
@@ -64,7 +64,7 @@ static CMPIStatus validate_caps_get_serv
if ((s.rc != CMPI_RC_OK) || (_inst == NULL))
goto out;
- s = get_vsms(ref, &_inst, _BROKER);
+ s = get_vsms(ref, &_inst, _BROKER, false);
} else if (STREQC(classname, "VirtualSystemMigrationCapabilities")) {
s = get_migration_caps(ref, &_inst, _BROKER);
if ((s.rc != CMPI_RC_OK) || (_inst == NULL))
@@ -91,7 +91,7 @@ static CMPIStatus validate_service_get_c
classname = class_base_name(CLASSNAME(ref));
if (STREQC(classname, "VirtualSystemManagementService")) {
- s = get_vsms(ref, &_inst, _BROKER);
+ s = get_vsms(ref, &_inst, _BROKER, true);
if ((s.rc != CMPI_RC_OK) || (_inst == NULL))
goto out;
diff -r 88e4cf39a5b3 -r 30beb44bdb1f src/Virt_HostedService.c
--- a/src/Virt_HostedService.c Wed Feb 13 08:14:07 2008 -0800
+++ b/src/Virt_HostedService.c Wed Feb 13 08:16:37 2008 -0800
@@ -47,7 +47,7 @@ static CMPIStatus validate_service_ref(c
classname = class_base_name(CLASSNAME(ref));
if (STREQC(classname, "VirtualSystemManagementService")) {
- s = get_vsms(ref, &inst, _BROKER);
+ s = get_vsms(ref, &inst, _BROKER, true);
} else if (STREQC(classname, "ResourcePoolConfigurationService")) {
s = get_rpcs(ref, &inst, _BROKER, true);
} else if (STREQC(classname, "VirtualSystemMigrationService")) {
@@ -111,7 +111,7 @@ static CMPIStatus host_to_service(const
if (!CMIsNullObject(inst))
inst_list_add(list, inst);
- s = get_vsms(ref, &inst, _BROKER);
+ s = get_vsms(ref, &inst, _BROKER, false);
if (s.rc != CMPI_RC_OK)
return s;
if (!CMIsNullObject(inst))