[Users] usb passthough permission

I add a qemu-cmd hook to localhost. "-device usb-host:vendorid=0718,productid=0083" And in the qemu/usb-test.log I find ".... Domain id=6 is tainted: custom-argv husb: open device 2.7 /dev/bus/usb/002/007: Operation not permitted husb: open device 2.7 /dev/bus/usb/002/007: Operation not permitted husb: open device 2.7 /dev/bus/usb/002/007: Operation not permitted qemu: terminating on signal 15 from pid 3534 2013-10-31 05:48:36.483+0000: shutting down" I'd set setuid of /usr/libexec/qemu-kvm, is there some other configuration?

Ok now, it needs cgroup permission On 2013年10月31日 14:16, lof yer wrote:
I add a qemu-cmd hook to localhost. "-device usb-host:vendorid=0718,productid=0083"
And in the qemu/usb-test.log I find ".... Domain id=6 is tainted: custom-argv husb: open device 2.7 /dev/bus/usb/002/007: Operation not permitted husb: open device 2.7 /dev/bus/usb/002/007: Operation not permitted husb: open device 2.7 /dev/bus/usb/002/007: Operation not permitted qemu: terminating on signal 15 from pid 3534 2013-10-31 05:48:36.483+0000: shutting down"
I'd set setuid of /usr/libexec/qemu-kvm, is there some other configuration?
participants (2)
-
lof yer
-
lofyer