[Libvirt-cim] [PATCH 4 of 5] Add support for input devices to Virt_RASD.c

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Tue Nov 11 23:25:25 UTC 2008


Dan Smith wrote:
> KR> There isn't much to the input device, so the only attributes that
> KR> get set are the ResourceType and the InstanceID.
> 
> Since we're using a less-than-explicit ResourceType, perhaps we should
> set the ResourceSubType field to "mouse", "tablet", etc?
> 

Yeah, that's a good idea.  I was also trying to figure out where to fit 
the bus type.

For the template RASDs, we might want to expose 3 possibilities:  PS2 
mice, USB mice, and USB tablet.  Or else, the provider can just set mice 
as PS2 and tablets as USB.

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




More information about the Libvirt-cim mailing list