Bug 723760
Summary: | usb-host occupys two ports | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | juzhang <juzhang> |
Component: | qemu-kvm | Assignee: | Gerd Hoffmann <kraxel> |
Status: | CLOSED NOTABUG | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.2 | CC: | michen, mkenneth, qzhou, shuang, tburke, virt-maint |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-08-12 08:42:59 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
juzhang
2011-07-21 03:38:59 UTC
#info usbhost [ ... ] Bus 2, Addr 4, Port 1.7, Speed 480 Mb/s Class 00: USB device 04e8:5120, U5 This is one host device list entry. Auto filters: Bus 2, Addr 4, Port 003, ID 04e8:5120 This is *not* a device list entry. This lists what devices qemu is looking for to assign them to the guest. You'll find there the conditions specified via -device host,... You asked qemu to look out for for port=003, whereas the port of the device you want assign is 1.7. Qemu doesn't assign the device because of the mismatch, thats why lspci inside the guest doesn't list the device. You can mix the filter conditions as you like, but not all combinations are that useful. I recomment to pick one of these two: (1) Match by device ID, that will pass through the samsung device (phone?) no matter where you plug it in. -device usb-host,bus=ehci.0,vendorid=04e8,productid=5120 (2) Match by phyiscal port. That will pass through any device plugged into the port specified. -device usb-host,bus=ehci.0,hostbus=2,hostport=1.7 |