[Libvirt-cim] [PATCH 13 of 18] Fixes to ElementCapabilities for libcmpiutil API change
Kaitlin Rupert
kaitlin at linux.vnet.ibm.com
Wed Nov 28 17:39:12 UTC 2007
Dan Smith wrote:
>
> - sys_name = cu_get_str_path(ref, "Name");
> - if (!STREQ(sys_name, host_name)) {
> + if (cu_get_str_path(ref, "Name", &sys_name) != CMPI_RC_OK) {
> cu_statusf(_BROKER, &s, CMPI_RC_ERR_FAILED,
> "System '%s' is not a host system.", sys_name);
> goto out;
>
You're removing the check that confirms the sys_name and host_name
match. This looks like it's trying to filter out any potential domains
that might be passed in as a ref. Is this check no longer necessary?
--
Kaitlin Rupert
IBM Linux Technology Center
karupert at us.ibm.com
More information about the Libvirt-cim
mailing list