Looks like I found it. The VM in my case is trying to access

/sys/devices/pci0000:00/0000:00:1e.0/0000:01:04.4/usb6/devnum

but the abstractions/libvirt-qemu profile only allows

  /sys/bus/usb/devices/ r,
  /sys/devices/*/*/usb[0-9]*/** r,

when it should (also) allow

  /sys/devices/*/*/*/usb[0-9]*/** r,

With this line added the guest boots fine and immediately gets access to
the USB device.

I have attached a patch for this one-line fix, hope it helps.

** Patch added: "One-line fix for hostdev access to USB devices"
   http://launchpadlibrarian.net/47796844/libvirt-qemu.patch

-- 
apparmor driver blocks access to hostdev and pcidev devices
https://bugs.launchpad.net/bugs/545795
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to