On Thu, 22 Jul 2010, Jeremy Fitzhardinge wrote:
> On 07/22/2010 09:51 AM, Jeremy Fitzhardinge wrote:
> > (usb 0)
> > (usbdevice tablet)
> >
>
> But setting usb=1 fixes it. I didn't have to do that before, so
> presumably general usb support wasn't needed to enable mouse/tablet
> support...
>
Obviously usbdevice should imply usb, this is the patch that fixed it:
Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
diff -r b0b1a6163203 tools/libxl/libxl.c
--- a/tools/libxl/libxl.c Thu Jul 22 15:24:49 2010 +0100
+++ b/tools/libxl/libxl.c Fri Jul 23 12:54:20 2010 +0100
@@ -984,7 +984,7 @@ static char ** libxl_build_device_model_
flexarray_set(dm_args, num++, "-boot");
flexarray_set(dm_args, num++, info->boot);
}
- if (info->usb) {
+ if (info->usb || info->usbdevice) {
flexarray_set(dm_args, num++, "-usb");
if (info->usbdevice) {
flexarray_set(dm_args, num++, "-usbdevice");
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|