Red Hat Bugzilla – Bug 583108
qemu-kvm doesn't pass USB devices to the VM
Last modified: 2011-06-27 11:39:16 EDT
Created attachment 407153 [details]
error messages from stderr
Description of problem:
USB devices are not passed to the VM as documented (use of -usbdevice)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Start a VM from CLI using the qemu-kvm command
2.Watch the stderr scroll with hundreds of errors
VM boots, USB device is not present
USB device is passed to the OS running in the VM
Verified using FC9 and WinXP, using both the "host:bus.device" and
"host:vendor:product" notation. Tested with the "qemu" command in software emulation. In all cases the the correct bus and device (001:009) were used.
Created attachment 407154 [details]
output of lsusb on the host
As can be seen the 001:009 device is present and uses the vendor:product code I tried.
I'm experiencing a very similar issue on Fedora 12, though it can be of different reason since error messages differ.
I start the kvm domain with libvirt. Below is the related contents from a libvirt log file:
husb: open device 3.2
husb: config #1 need -1
husb: 4 interfaces claimed for configuration 1
husb: grabbed device 3.2
husb: config #1 need 1
USBDEVFS_DISCONNECT: No route to host
<two last lines repeated several times>
The output from kvm domain (happens during udev startup):
device descriptor read/64, error -32
I have the same bug under gentoo (in app-emulation/qemu-kvm-1.13.0-r2 ebuild)
So, I reposted this bug in qemu bugzilla:
This message is a reminder that Fedora 13 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 13. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '13'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 13's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 13 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
Fedora 13 changed to end-of-life (EOL) status on 2011-06-25. Fedora 13 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.