[fedora-virt] user qemu has no access to usb devices

Mark McLoughlin markmc at redhat.com
Fri Oct 9 13:48:35 UTC 2009


On Sat, 2009-10-03 at 19:38 +0000, Tom Horsley wrote:
> I don't know if something is busted in my rawhide setup, or if this is just
> a real problem with the new scheme of running as user qemu, but user qemu (on
> my system at least), has no access to physical usb devices. I had to change
> the qemu.conf file to tell it to run as root before it could attach a usb
> device to my windows XP virtual machine.
> 
> See https://bugzilla.redhat.com/show_bug.cgi?id=524723#c5

Just for the record, a better workaround is to enable the virt_use_usb
boolean with 'setsebool virt_use_usb true'

Cheers,
Mark.




More information about the virt mailing list