[Pkg-libvirt-maintainers] Bug#765080: libvirt-bin: USB Host Device passthrough broken on new minimal Jessie install

Tim Small tim at seoss.co.uk
Mon Oct 13 11:56:40 UTC 2014


Package: libvirt-bin
Version: 1.2.8-3
Severity: normal

On a newly installed Jessie amd64 box, USB Host Device passthrough
for qemu guests is broken due to qemu-system being unable to access the
necessary /dev/bus/usb device files, e.g.

2014-10-09T20:46:52.077038Z qemu-system-x86_64: Warning: "-global PIIX4_PM.disable_s4=1" not used
libusb: error [_get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/008/002: Permission denied
libusb: error [_get_usbfs_fd] libusb requires write access to USB device nodes.
libusb: error [_get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/002/002: Permission denied
libusb: error [_get_usbfs_fd] libusb requires write access to USB device nodes.

This is somewhat related to #563502, but additionally access fails for
non-hot-plugged USB devices (e.g. those plugged in since host machine
boot time).  Workaround is to chown/chmod the device files manually.

Incidentally, PCI device passthrough via vfio works fine on the same
machine.

Dunno if the regression is down to systemd?

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libvirt-bin depends on:
ii  libvirt-clients        1.2.8-3
ii  libvirt-daemon-system  1.2.8-3

libvirt-bin recommends no packages.

libvirt-bin suggests no packages.

-- no debconf information



More information about the Pkg-libvirt-maintainers mailing list