[Libvirt-cim] [PATCH 1/3] libxutil: Controller Support
John Ferlan
jferlan at redhat.com
Thu Mar 13 12:45:23 UTC 2014
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
>> #define CIM_RES_TYPE_UNKNOWN 1000
>> #define CIM_RES_TYPE_IMAGE 32768
>> #define CIM_RES_TYPE_CONSOLE 32769
>> #define CIM_RES_TYPE_EMU 32770
>>
>> -#define CIM_RES_TYPE_COUNT 7
>> +#define CIM_RES_TYPE_COUNT 8
>> const static int cim_res_types[CIM_RES_TYPE_COUNT] =
>> {CIM_RES_TYPE_NET,
>> CIM_RES_TYPE_DISK,
>> @@ -46,6 +47,7 @@ const static int cim_res_types[CIM_RES_TYPE_COUNT] =
>> CIM_RES_TYPE_GRAPHICS,
>> CIM_RES_TYPE_INPUT,
>> CIM_RES_TYPE_CONSOLE,
>> + CIM_RES_TYPE_CONTROLLER,
>> };
>>
>> #define CIM_VSSD_RECOVERY_NONE 2
>>
>
>
More information about the Libvirt-cim
mailing list