# HG changeset patch
# User Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
# Date 1279900715 -3600
# Node ID ef495616b946305488b445a929e842c634462f19
# Parent df9d8319bd37af1b1f4752a2714b42b093588c70
tools/libxl: usbdevice should imply usb
Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
tools/libxl/libxl.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r df9d8319bd37 -r ef495616b946 tools/libxl/libxl.c
--- a/tools/libxl/libxl.c Fri Jul 23 16:46:59 2010 +0100
+++ b/tools/libxl/libxl.c Fri Jul 23 16:58:35 2010 +0100
@@ -959,7 +959,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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|