I'm trying to attach a USB device which is attached to my host to a
guest instance. The device definition in the XML looks like:
<hostdev mode='subsystem' type='usb' managed='yes'>
<source>
<vendor id='0x046d'/>
<product id='0xc111'/>
</source>
</hostdev>
and the device appears in lsusb as USB device 002:018:
Bus 002 Device 018: ID 046d:c111 Logitech, Inc.
but when I try and start the guest libvirt appears to try and use a
different device which doesn't exist:
error: unable to set security context '107:107' on
'/dev/bus/usb/002/022': No such file or directory
This is using the current libvirt-0.7.6-1.fc12.x86_64 package from the
F12 virt-preview repository.
Tom
--
Tom Hughes (tom(a)compton.nu)
http://www.compton.nu/