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

Heidi Eckhart heidieck at linux.vnet.ibm.com
Mon Feb 4 12:25:54 UTC 2008


# HG changeset patch
# User Heidi Eckhart <heidieck at linux.vnet.ibm.com>
# Date 1202131346 -3600
# Node ID 11ede99c6a8e94c930870f840af6d1a795bb6b63
# Parent  971b870679bd5c11fb872c27b09150f612040eb9
HS: adopt change in RPCS interface (get_rpcs_instance)
Signed-off-by: Heidi Eckhart <heidieck at linux.vnet.ibm.com>

diff -r 971b870679bd -r 11ede99c6a8e src/Virt_HostedService.c
--- a/src/Virt_HostedService.c	Mon Feb 04 14:22:25 2008 +0100
+++ b/src/Virt_HostedService.c	Mon Feb 04 14:22:26 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