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

Re: [Xen-users] Question about USB passthrough in HVM guest domain


  • To: xen-users@xxxxxxxxxxxxx
  • From: Gordan Bobic <gordan@xxxxxxxxxx>
  • Date: Thu, 05 Jun 2014 09:52:55 +0100
  • Delivery-date: Thu, 05 Jun 2014 08:54:09 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Typically a USB controller shows up as multiple PCI devices.
For example, on my machine:
# lspci -vvv | grep USB
00:1a.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4 (prog-if 00 [UHCI]) 00:1a.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5 (prog-if 00 [UHCI]) 00:1a.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6 (prog-if 00 [UHCI]) 00:1a.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2 (prog-if 20 [EHCI]) 00:1d.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1 (prog-if 00 [UHCI]) 00:1d.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2 (prog-if 00 [UHCI]) 00:1d.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3 (prog-if 00 [UHCI]) 00:1d.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1 (prog-if 20 [EHCI])

You don't have to pass ALL of them to your domU. Figure out which
one(s) the USB devices you want to pass through are connected to
and only pass those through. You DO NOT have to pass the whole
device through with USB, e.g. 00:1a.* - passing only individual
sub-functions works fine (e.g. only 00:1a.0 and 00:1a.1).

Gordan

On 2014-06-03 20:19, Meng Xu wrote:
Hi Jacek,

Thank you very much for your replies! I tried to passing the whole usb
controller before by using the PCI passthrough. However, after I pass
throught the whole usb controller, I can no longer use keyboard and
mouse in dom0. Is there anyway that I can use the usb devices in dom0
after I passthough the whole usb controller?

Thanks,

 Meng Â

2014-06-03 15:14 GMT-04:00 jacek burghardt
<jaceksburghardt@xxxxxxxxx>:

I don't thing the whole passing of usb devices is well supported
under xen. I always pass whole usb controller. I wonder if you can
get pci or epic usb controller and pass it

--

-----------
Meng Xu
PhD Student in Computer and Information Science
University of Pennsylvania
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

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

 


Rackspace

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