|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v6] libxl: usb2 and usb3 controller support for upstream qemu
Il 26/09/2013 13:04, Anthony PERARD ha scritto: On Mon, Sep 23, 2013 at 04:32:02PM +0200, Fabio Fantoni wrote:Usage: usbversion=1|2|3 (default=2) 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. Default is 2. Changes from v5: changed usb2 controller qemu parameters: - removed bus - added multifunction on all devices Signed-off-by: Fabio Fantoni <fabio.fantoni@xxxxxxx> --- docs/man/xl.cfg.pod.5 | 6 ++++++ tools/libxl/libxl.h | 14 ++++++++++++++ tools/libxl/libxl_create.c | 3 +++ tools/libxl/libxl_dm.c | 25 ++++++++++++++++++++++++- tools/libxl/libxl_types.idl | 1 + tools/libxl/xl_cmdimpl.c | 2 ++ 6 files changed, 50 insertions(+), 1 deletion(-) diff --git a/docs/man/xl.cfg.pod.5 b/docs/man/xl.cfg.pod.5 index 769767b..f768784 100644 --- a/docs/man/xl.cfg.pod.5 +++ b/docs/man/xl.cfg.pod.5 @@ -1168,6 +1168,12 @@ 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. +Default is 2. + =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..e27308e 100644 --- a/tools/libxl/libxl.h +++ b/tools/libxl/libxl.h @@ -305,6 +305,20 @@ #define LIBXL_HAVE_BUILDINFO_USBDEVICE_LIST 1/* With new qemu parameters it works, all details here: http://lists.xen.org/archives/html/xen-devel/2013-09/msg02376.htmlI'm waiting the patch draft about usb change/hotplug of George Dunlap to see what he did. After that I'll try to include the necessary qemu parameters changes to have usb passthrough working with new controller patch. I'll improve the patch also in order to have unique block with usb passthrough (from dom0), usb redirection (from spice client) or both working, which I know ok from my previous test with all manual qemu parameters. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |