[Libvirt-cim] [PATCH 3 of 3] Update get_vsm_cap() call in ElementCapabilities

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Thu Nov 29 21:42:31 UTC 2007


# HG changeset patch
# User Kaitlin Rupert <karupert at us.ibm.com>
# Date 1196371985 28800
# Node ID 482e5682c55119293991c361bd861b0edca0ab07
# Parent  e06948021a3a7eea119332b2fe4d773c0d748ffa
Update get_vsm_cap() call in ElementCapabilities.

The get_vsm_cap() call in VSMC has been changed to include an extra paramater.  The calling function in ElementCapabilities already gets the system / hostname, so all that needs to be done is to pass that value to get_vsm_cap().

Signed-off-by: Kaitlin Rupert <karupert at us.ibm.com>

diff -r e06948021a3a -r 482e5682c551 src/Virt_ElementCapabilities.c
--- a/src/Virt_ElementCapabilities.c	Thu Nov 29 13:32:40 2007 -0800
+++ b/src/Virt_ElementCapabilities.c	Thu Nov 29 13:33:05 2007 -0800
@@ -78,7 +78,7 @@ static CMPIStatus sys_to_cap(const CMPIO
                 goto out;
         }
 
-        s = get_vsm_cap(_BROKER, ref, &inst);
+        s = get_vsm_cap(_BROKER, ref, sys_name, &inst);
         if (s.rc == CMPI_RC_OK)
                 inst_list_add(list, inst);
  out:




More information about the Libvirt-cim mailing list