[Libvirt-cim] [PATCH 1/3] libxutil: Controller Support

Boris Fiuczynski fiuczy at linux.vnet.ibm.com
Thu Mar 13 15:29:09 UTC 2014


ResourceType	uint16	
Description	string	The type of resource this allocation setting represents.
ModelCorrespondence	string 
CIM_ResourceAllocationSettingData.OtherResourceType, 
CIM_ResourceAllocationSettingData.ResourceSubType
ValueMap	string	1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 
17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, .., 
0x8000..0xFFFF
Values	string	Other, Computer System, Processor, Memory, IDE Controller, 
Parallel SCSI HBA, FC HBA, iSCSI HBA, IB HCA, Ethernet Adapter, Other 
Network Adapter, I/O Slot, I/O Device, Floppy Drive, CD Drive, DVD 
drive, Disk Drive, Tape Drive, Storage Extent, Other storage device, 
Serial port, Parallel port, USB Controller, Graphics controller, IEEE 
1394 Controller, Partitionable Unit, Base Partitionable Unit, Power, 
Cooling Capacity, Ethernet Switch Port, Logical Disk, Storage Volume, 
Ethernet Connection, DMTF reserved, Vendor Reserved

That is included in the ValueMap!

On 03/13/2014 04:20 PM, John Ferlan wrote:
>
>
> On 03/13/2014 10:10 AM, Boris Fiuczynski wrote:
>> On 03/13/2014 01:45 PM, John Ferlan wrote:
>>>
>>>
>>> On 03/12/2014 12:36 PM, Boris Fiuczynski wrote:
>>>>> diff --git a/src/svpc_types.h b/src/svpc_types.h
>>>>> index 404e428..d76097c 100644
>>>>> --- a/src/svpc_types.h
>>>>> +++ b/src/svpc_types.h
>>>>> @@ -32,12 +32,13 @@
>>>>>     #define CIM_RES_TYPE_DISK       17
>>>>>     #define CIM_RES_TYPE_GRAPHICS   24
>>>>>     #define CIM_RES_TYPE_INPUT      13
>>>>> +#define CIM_RES_TYPE_CONTROLLER 33
>>>> 33 is DMTF reserved as an Ethernet Connection the next logical number in
>>>> libvirt-cim terms would be 32771 (see below)
>>>
>>>
>>> Do you have a link handy to the specification that describes the
>>> numbers?  I know I used to have a link, but I cannot find it any more.
>>>
>>> tks,
>>>
>>> John
>> John, sure!
>> http://schemas.dmtf.org/wbem/cim-html/2.31.0/CIM_ResourceAllocationSettingData.html
>>
>
> I was thinking more along the lines of a link where the "33" is being
> defined since as you pointed out it was reserved.
>
>
> John
>
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim
>


-- 
Mit freundlichen Grüßen/Kind regards
    Boris Fiuczynski

IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martina Köderitz
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294




More information about the Libvirt-cim mailing list