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

RE: IMPORTANT - : Need help on USB port virtualization with Xen hypervisor



Hi Julien,

 

Thank you for your quick answer.

 

You will find below our answers (in red) to your questions.

 

To summarize our request : what we would like is to use USB 3.0 driver with high speed configuration.

Today, it is not possible to do that.

The driver stay in full speed mode, and more often in USB 1.0 or 2.0 configuration.

 

Is it possible to configure the XEN USB 3.0 driver with the high speed mode ?

(read in our answers below the reference to the driver)

 

Best regards,

Dominique

 

 

-----Message d'origine-----

De : Julien Grall <julien@xxxxxxx>

Envoyé : samedi 24 février 2024 14:37

À : GOURLOT Francois <francois.gourlot@xxxxxxxxxxxxxxx>; xen-devel@xxxxxxxxxxxxxxxxxxxx Cc : Kelly Choi <kelly.choi@xxxxxxxxx>; Jan Beulich <jbeulich@xxxxxxxx>; Roger Pau Monné <roger.pau@xxxxxxxxxx>; Andrew Cooper <andrew.cooper3@xxxxxxxxxx>; George Dunlap <george.dunlap@xxxxxxxxxx>; Jan Beulich <jbeulich@xxxxxxxx>; Juergen Gross <jgross@xxxxxxxx> Objet : Re: IMPORTANT - : Need help on USB port virtualization with Xen hypervisor

 

Hi Dominique and Francois,

 

Thank you for the report. I am CCing some person who I think could help.

 

I also have some questions (see below).

 

On 23/02/2024 16:00, GOURLOT Francois wrote:

> Dear All,

>

> We send you a message few days ago.

>

> We have major performance with XEN USB Drivers. We use your driver to

> load data in a device and we need USB3 High Speed USB protocole

>

> Do you have a new issue of the HCI and NEC USB Xen Driver ?

 

[...]

 

> *De :*LARRIEU Dominique <dominique.larrieu@xxxxxxxxxxxxxxx>

> *Envoyé :* jeudi 22 février 2024 13:58 *À :*

> xen-devel@xxxxxxxxxxxxxxxxxxxx *Cc :* WILLEMS Louis

> <louis.willems@xxxxxxxxxxxxxxx>; GRUO Nicolas

> <nicolas-n.gruo@xxxxxxxxxxxxxxx>; GOURLOT Francois

> <francois.gourlot@xxxxxxxxxxxxxxx>; Kelly Choi <kelly.choi@xxxxxxxxx>

> *Objet :* Need help on USB port virtualization with Xen hypervisor

> *Critère de diffusion :* Confidentiel

>

>     Dear all,

>

>     We are detecting several issues with USB port virtualization with the

>     Xen hypervisor.

 

Just to clarify, you are assigning the PCI USB bus (rather than just the USB device) to the guest. Is that correct?

 

If so...

 

[Thales] : we are using the USB chipset of the mother board (see below the references)

 

> 

> Do you have a new issue of the HCI and NEC USB Xen Driver ?

 

... I am not sure what Xen driver you are talking about. If the USB bus is assigned to the guest, then I would expect no specific Xen driver are required. Do you have any pointer to the existing one?

 

[Thales] : see references to HW and SW below

 

>     - We cannot do PCI passthrough of the PCI usb bus on a Windows 10

>     1607 64-bit virtual machine. The bad result is a Windows blue screen.

>

>     - When we use the passthrough functionality on a Windows 21H2

>     virtual machine, we notice thatthe speed of the USB port is not high

>     speed but full speed on a USB 3.0 port

>

>     - We notice instabilities when using the nec-usb-xhci driver,  USB

>     2.0 keys are not recognized by the Windows virtual machine

>     (incorrect descriptor)

 

Do you have any logs you could share from the guest OS? Also, would you be able to share more details on how you configure the guest? (e.g. xl configuration, libvirt...)?

 

>

>     We needyour helpto find a solution for these problems.

>

>     The Software used are :

 

Can you share some details of the HW you are using ?

 

[Thales] : HW :

[Thales] : We are using a GETAC X500 using the Mobile Intel QM175 Chipset

[Thales] : USB controller: Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller (rev 31)

[Thales] : Subsystem: Mitac 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller

 

[Thales] : SW :

[Thales] : Kernel driver in use: xhci_hcd

[Thales] : Kernel modules : xhci_pci

 

>

>     -Debian 11 version5.10.0-20

>

>     -Xen version4.14

 

Are minor version of Xen 4.14 are you using ? Any patches on top ?

 

Xen 4.14 has also been out of support for a few months now. If that’s possible, I would recommend to try a new Xen version (the last stable is

4.18) just in case your issue as been fixed in newer release.

 

[Thales] : we have to use Xen release that are downloaded from the Debian official repository  (requested by our customer)

[Thales] : the last one is version 4.14, but we would like to know if there is one more recent that is compatible with Linux Debian 11 ?

 

>

>     -Windows 10 1607 and 21H2 for virtual machines. Virtual Machine

> HVM

 

Cheers,

 

--

Julien Grall


 


Rackspace

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