[Libvirt-cim] Query on Pointing Device.

Deepti B Kalakeri deeptik at linux.vnet.ibm.com
Thu Nov 20 18:56:59 UTC 2008



Kaitlin Rupert wrote:
> Deepti B Kalakeri wrote:
>> What will happen when the input tag of the xml  has the following 
>> format ?
>> <input type != 'mouse/tablet' bus != 'xen/usb/ps2'/>
>> For ein on Xen_PointingDevice
>> Should the caption be "Unknown bus Unknown device type" ??
>>
>> Though I tried creating a guest with invalid values in the input tags 
>> using the xml file,
>> the guest was always created with the <input type='mouse' bus='xen'/> 
>> tag when I saw the dumpxml of the guest.
>> Is there a way to supply invalid values to the input tag ?
>>
>
> If you try to create a guest with an invalid type or bus, you'll see 
> something like the following error:
>
> <input type='invalid' bus='ps2'/>
>
> libvir: Domain Config error : internal error unknown input device type 
> 'invalid'
> error: Failed to define domain from test
>
> ---------------
>
> <input type='mouse' bus='invalid'/>
>
> libvir: Domain Config error : internal error unknown input bus type 
> 'invalid'
> error: Failed to define domain from test
>
>
> ------------
>
> If we're unable to get the expected values from the guest, then some 
> kind of error in libvirt has occurred.  So setting the caption to 
> "Unknown bus Unknown device type" is a fall back in that case.
What should be the values for Xen, XenFV, KVM and LXC  for input type 
and bus tags ?
Should we supply input type='mouse' bus='xen' for XenPV by default?
when to supply type=tablet and bus=ps2/usb ?

Thanks and Regards,
Deepti.




More information about the Libvirt-cim mailing list