Can't pass usb host devices to qemu vms under libvirt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I have quite a few vms and I frequently assign host usb devices to them at runtime by using virt-manager. Last time I tried was maybe a month ago and it went fine as usual.
Now I can no longer do it, and the only hint I have is the following error:
Oct 11 08:49:51 polesbook libvirtd[5592]: erro interno: não foi possível executar o comando QEMU "device_add": failed to find host usb device 2:5
(the portuguese parts translates roughly to "internal error: can't run QEMU command ..."
If I would have to guess, I'd say something related to udev permissions changed on some package.
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: libvirt0 2.5.0-3ubuntu5
ProcVersionSign
Uname: Linux 4.10.0-
ApportVersion: 2.20.4-0ubuntu4.5
Architecture: amd64
CurrentDesktop: Unity:Unity7
Date: Wed Oct 11 08:55:38 2017
InstallationDate: Installed on 2017-06-14 (118 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
SourcePackage: libvirt
UpgradeStatus: No upgrade log present (probably fresh install)
On a side note, I attempted to completely remove all of libvirt by apt purge and installing again just in case, but I ended up in the same place.