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(a)us.ibm.com