qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] USB pass through via usb-host


From: Alexey Kardashevskiy
Subject: [Qemu-devel] USB pass through via usb-host
Date: Fri, 12 Jun 2015 20:45:23 +1000
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

Hi!

I am trying usb-host with the root hub like this:

-device nec-usb-xhci,id=id3 \
-device usb-host,id=id4,hostbus=1,hostaddr=1

In the guest I see emulated XHCI and 2 root hubs (and I see exactly the same picture if I do not pass anytning via usb-host):

address@hidden ~]# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
address@hidden ~]# lspci
00:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03)


The questions are:
1. can we really pass a root hub to a guest? What is expected to happen there? Should not I see 3 root hubs (2 from emulated XHCI and 3rd one from usb-host)?

2. can we tell if the root hubs in the guest are emulated or from usb-host?


The questions are to understand what is supported/expected and what is not rather than report a bug or something :)

Thanks!


This is my host:

address@hidden:~$ lspci -s 0003:09:00.0
0003:09:00.0 USB controller: Texas Instruments TUSB73x0 SuperSpeed USB 3.0 xHCI Host Controller (rev 02)
address@hidden:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 007: ID 046b:ff10 American Megatrends, Inc. Virtual Keyboard and Mouse
Bus 001 Device 009: ID 046b:ff31 American Megatrends, Inc.
Bus 001 Device 003: ID 046b:ff01 American Megatrends, Inc.
Bus 001 Device 011: ID 0fe6:8101 Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter
Bus 001 Device 012: ID 136b:0001 STEC
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


--
Alexey



reply via email to

[Prev in Thread] Current Thread [Next in Thread]