Public bug reported:
On Trusty 14.04 LTS, and possibly later releases too (yet to be be
tested) QEMU/KVM USB Host Device pass-through fails when the host has
multiple identical USB devices attached.
When using the GUI to choose a USB Host device those devices are listed
to the user by their USB Bus position which is guaranteed to be unique
for every device.
However, in the background the generated XML device fragment uses the
Vendor:Product ID. The GUI interface also only lists the device by its
Vendor:Product ID.. libvirt is perfectly capable of addressing a device
by its bus position.
The GUI should give the user the option to specify the device by Address
or ID.
When there are multiple identical devices attached this causes the Guest
to fail to start, reporting:
Error starting domain: operation failed: Multiple USB devices for
8564:1000, use <address> to specify one
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 96, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 117, in tmpcb
callback(*args, **kwargs)
File "/usr/share/virt-manager/virtManager/domain.py", line 1162, in startup
self._backend.create()
File "/usr/lib/python2.7/dist-packages/libvirt.py", line 866, in create
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: operation failed: Multiple USB devices for 8564:1000, use
<address> to specify one
** Affects: virt-manager (Ubuntu)
Importance: Medium
Status: Triaged
** Attachment added: "USB Host device chooser dialog"
https://bugs.launchpad.net/bugs/1489175/+attachment/4452954/+files/vm-usb-list.jpg
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1489175
Title:
VM fails to start with host USB device attached when multiple
identical Vendor:Product IDs exist
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/1489175/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs