[Libvirt-cim] [PATCH 1 of 7] Add Resource Pool types to svpc_types.h

Dan Smith danms at us.ibm.com
Fri Mar 7 16:19:55 UTC 2008


HE> diff -r 0a71dab025de -r f7afada7979c libxkutil/device_parsing.h
HE> --- a/libxkutil/device_parsing.h	Thu Mar 06 09:59:23 2008 +0800
HE> +++ b/libxkutil/device_parsing.h	Fri Mar 07 12:30:05 2008 +0100
HE> @@ -64,11 +64,11 @@ struct graphics_device {

HE>  struct virt_device {
HE>          enum {
HE> -              VIRT_DEV_NET = CIM_RASD_TYPE_NET,
HE> -              VIRT_DEV_DISK = CIM_RASD_TYPE_DISK,
HE> -              VIRT_DEV_MEM = CIM_RASD_TYPE_MEM,
HE> -              VIRT_DEV_VCPU = CIM_RASD_TYPE_PROC,
HE> -              VIRT_DEV_UNKNOWN = 1000,
HE> +              VIRT_DEV_NET = CIM_RES_TYPE_NET,
HE> +              VIRT_DEV_DISK = CIM_RES_TYPE_DISK,
HE> +              VIRT_DEV_MEM = CIM_RES_TYPE_MEM,
HE> +              VIRT_DEV_VCPU = CIM_RES_TYPE_PROC,
HE> +              VIRT_DEV_UNKNOWN = CIM_RES_TYPE_UNKNOWN,
HE>                VIRT_DEV_EMU,
HE>                VIRT_DEV_GRAPHICS,
HE>          } type;

I have applied this set to avoid dragging this out any further, but I
would like to see a follow-on set that removes all of the VIRT_DEV_foo
types in favor of CIM_RES_TYPE_foo.

-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms at us.ibm.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20080307/96d427bb/attachment.sig>


More information about the Libvirt-cim mailing list