Comment 3 for bug 1387154

Revision history for this message
Matti Laakso (matti-laakso) wrote : Re: USB host device no longer added to VM

I also have the same problem: USB host devices can no longer be added to the guest system. I don't use USB redirection with spice, but the Add hardware -> USB host device option in virt-manager. I get the following messages in the /var/log/libvirt/qemu/guest.log file:

libusbx: error [_get_usbfs_fd] libusbx couldn't open USB device /dev/bus/usb/001/011: Permission denied
libusbx: error [_get_usbfs_fd] libusbx requires write access to USB device nodes.

Sure enough, the write permissions are restricted to root only:

crw-rw-r-- 1 root root 189, 11 marra 4 12:00 011

Shouldn't libvirtd change these permissions automatically? This worked in 14.04, so it is a regression.