[Libvirt-cim] [PATCH 1 of 3] Enumeration of RegisteredProfile class is returning wrong instances
Kaitlin Rupert
kaitlin at linux.vnet.ibm.com
Tue Nov 27 15:54:06 UTC 2007
Heidi Eckhart wrote:
> +
> + instance = get_typed_instance(broker,
> + pfx_from_conn(conn),
> + "RegisteredProfile",
> + namespace);
> +
> + if (instance == NULL) {
> + CMSetStatusWithChars(broker, &s,
> + CMPI_RC_ERR_FAILED,
> + "Can't create HostSystem instance.");
> goto out;
>
I think the return message is incorrect here. You're creating
attempting to create a RegisteredProfile instance, not a HostSystem
instance.
--
Kaitlin Rupert
IBM Linux Technology Center
karupert at us.ibm.com
More information about the Libvirt-cim
mailing list