[Libvirt-cim] [PATCH 1 of 3] Enumeration of RegisteredProfile class is returning wrong instances

Heidi Eckhart heidieck at linux.vnet.ibm.com
Wed Nov 28 09:08:53 UTC 2007


Kaitlin Rupert wrote:
> 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.
>
very good eyes and a very good catch :) ... thanks ... Heidi

-- 
Regards

Heidi Eckhart
Software Engineer
Linux Technology Center - Open Hypervisor

heidieck at linux.vnet.ibm.com

**************************************************
IBM Deutschland Entwicklung GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschaeftsfuehrung: Herbert Kircher
Sitz der Gesellschaft: Boeblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294




More information about the Libvirt-cim mailing list