[Libvirt-cim] [PATCH 4 of 4] HS: adopt change in RPCS interface (get_rpcs_instance)

Heidi Eckhart heidieck at linux.vnet.ibm.com
Tue Feb 5 08:25:42 UTC 2008


# HG changeset patch
# User Heidi Eckhart <heidieck at linux.vnet.ibm.com>
# Date 1202203373 -3600
# Node ID bd791ff33ba623d1355ca26b3876df0b32ad2d4b
# Parent  1a648234fb0f0332580b546a8a5dd75746441a7a
HS: adopt change in RPCS interface (get_rpcs_instance)
Signed-off-by: Heidi Eckhart <heidieck at linux.vnet.ibm.com>

diff -r 1a648234fb0f -r bd791ff33ba6 src/Virt_HostedService.c
--- a/src/Virt_HostedService.c	Tue Feb 05 10:22:52 2008 +0100
+++ b/src/Virt_HostedService.c	Tue Feb 05 10:22:53 2008 +0100
@@ -49,7 +49,7 @@ static CMPIStatus validate_service_ref(c
         if (STREQC(classname, "VirtualSystemManagementService")) {
                 s = get_vsms(ref, &inst, _BROKER);
         } else if (STREQC(classname, "ResourcePoolConfigurationService")) {
-                s = rpcs_instance(ref, &inst, _BROKER);
+                s = get_rpcs(ref, &inst, _BROKER, true);
         } else if (STREQC(classname, "VirtualSystemMigrationService")) {
                 s = get_migration_service(ref, &inst, _BROKER);
         }
@@ -105,7 +105,7 @@ static CMPIStatus host_to_service(const 
         if (s.rc != CMPI_RC_OK)
                 return s;
 
-        s = rpcs_instance(ref, &inst, _BROKER);
+        s = get_rpcs(ref, &inst, _BROKER, false);
         if (s.rc != CMPI_RC_OK)
                 return s;
         if (!CMIsNullObject(inst))




More information about the Libvirt-cim mailing list