Public bug reported: 1. fired up a pre-existing vm
virsh start mav-serv1 2. plugged in a usb drive 3. found the usb address using lsusb, which gave me Bus 002 Device 006: ID 1058:1023 Western Digital Technologies, Inc. 4. defined a xml file with the device info: <hostdev mode='subsystem' type='usb'> <source> <vendor id='0x1058'/> <product id='0x1023'/> </source> </hostdev> 5. passed the usb drive to the vm sudo virsh attach-device mav-serv1 /tmp/a.xml Expected results: lsusb in the VM shows the device Actual results: lsusb in the VM does not show the device until I stop apparmor using sudo /etc/init.d/apparmor stop sudo /etc/init.d/apparmor teardown As soon as I do that, it shows up in the guest. ** Affects: libvirt (Ubuntu) Importance: Undecided Status: New -- passing a usb device in maverick with apparmor enabled fails https://bugs.launchpad.net/bugs/640993 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs