[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH V3 3/6] libxl: add pvusb API



On 05/19/2015 12:20 PM, George Dunlap wrote:
On Tue, May 19, 2015 at 4:20 AM, Chun Yan Liu <cyliu@xxxxxxxx> wrote:

+static int libxl__device_usbctrl_setdefault(libxl__gc *gc, uint32_t domid,
+                                            libxl_device_usbctrl *usbctrl)
+{
+    int rc;
+
+    if (!usbctrl->version)
+        usbctrl->version = 2;
+

How hard would it be to implement USB 3? I assume this depends on QEMU's
support? I.e. we just need to specify the version to 3 and it should
just work? Just curious.

This implementation is coworked with PVUSB  driver, so it depends on PVUSB
driver's support. If PVUSB driver supports that, just specify the version to 3 
and
can work.

I sort of got the idea that from the pvusb driver's perspective, the
1/2/3 thing was mostly just a number -- one that's important to the
USB device itself and the USB driver for those devices in the guest,
but less so for the pvusb layer.  Is that not the case?

I think at least for support of USB3.0 streams there is some work to do.
I haven't done any thorough research on this topic, but as libusb had to
be changed for support of USB3.0 as well, I'd expect this to be the case
for the pvusb interface, too.

Juergen


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.