[Libvirt-cim] [PATCH 2 of 2] (#3) Have get_console_sap_by_name() use Name attribute to determine session

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Wed Nov 19 17:17:22 UTC 2008


>>
>> -        inst = get_console_sap(_BROKER, ref, conn, dominfo, &s);
>> +        if (cu_get_str_path(ref, "Name", &name) != CMPI_RC_OK) {
>> +                cu_statusf(broker, &s,
>> +                           CMPI_RC_ERR_NOT_FOUND,
>> +                           "No such instance (System)");
>>   
> Sorry for being late, just wondering if this error message has to be
> 
> "No such instance (Name)"
> 

Good catch!  A patch is on the way for this.

-- 
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list