|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v7] libxl: usb2 and usb3 controller support for upstream qemu
Il 12/11/2013 13:49, Stefano Stabellini ha scritto: On Tue, 8 Oct 2013, Fabio Fantoni wrote:Usage: usbversion=1|2|3 (default=0, no usb controller defined) Specifies the type of an emulated USB bus in the guest. 1 for usb1, 2 for usb2 and 3 for usb3, it is available only with upstream qemu. The old usb and usbdevice parameters cannot be used with this. Changes from v6: - now usbversion cannot be used with usb and usbdevice parameters - now default is 0 (no usb controller defined) Will be used only with usb redirection (from spice client) and new usb passthrough (from dom0) with hotplug. Changes from v5: changed usb2 controller qemu parameters: - removed bus - added multifunction on all devices Signed-off-by: Fabio Fantoni <fabio.fantoni@xxxxxxx>This also looks OK from the QEMU arguments POV. Thanks for reply, could someone review it and give approval for xen 4.4 if possible? docs/man/xl.cfg.pod.5 | 7 +++++++ tools/libxl/libxl.h | 14 ++++++++++++++ tools/libxl/libxl_create.c | 9 +++++++++ tools/libxl/libxl_dm.c | 24 ++++++++++++++++++++++++ tools/libxl/libxl_types.idl | 1 + tools/libxl/xl_cmdimpl.c | 2 ++ 6 files changed, 57 insertions(+) diff --git a/docs/man/xl.cfg.pod.5 b/docs/man/xl.cfg.pod.5 index 751de69..76dd546 100644 --- a/docs/man/xl.cfg.pod.5 +++ b/docs/man/xl.cfg.pod.5 @@ -1176,6 +1176,13 @@ device.Enables or disables an emulated USB bus in the guest. +=item B<usbversion=NUMBER>+ +Specifies the type of an emulated USB bus in the guest. 1 for usb1, +2 for usb2 and 3 for usb3, it is available only with upstream qemu. +The old usb and usbdevice parameters cannot be used with this. +Default is 0 (no usb controller defined). + =item B<usbdevice=[ "DEVICE", "DEVICE", ...]>Adds B<DEVICE>s to the emulated USB bus. The USB bus must also bediff --git a/tools/libxl/libxl.h b/tools/libxl/libxl.h index 4cab294..b70b44b 100644 --- a/tools/libxl/libxl.h +++ b/tools/libxl/libxl.h @@ -305,6 +305,20 @@ #define LIBXL_HAVE_BUILDINFO_USBDEVICE_LIST 1/* _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |