Didn't work for me, see [url=https://www.centos.org/modules/newbb/viewtopic.php?topic_id=34386&start=0#forumpost147717]here[/url].
What did you do to get it working?
KVM USB pass Centos6 doesn't work, worked in Centos 5.6
Re: KVM USB pass Centos6 doesn't work, worked in Centos 5.6
[quote]
amtowsbnp wrote:
I added my USB device path to the whitelist in /etc/libvirt/qemu.conf.
BEFORE
#cgroup_device_acl = [
# "/dev/null", "/dev/full", "/dev/zero",
# "/dev/random", "/dev/urandom",
# "/dev/ptmx", "/dev/kvm", "/dev/kqemu",
# "/dev/rtc", "/dev/hpet", "/dev/net/tun",
#]
AFTER
cgroup_device_acl = [
"/dev/null", "/dev/full", "/dev/zero",
"/dev/random", "/dev/urandom",
"/dev/ptmx", "/dev/kvm", "/dev/kqemu",
"/dev/rtc", "/dev/hpet", "/dev/net/tun",
"/dev/bus/usb/008/001",
]
Then restart libvirtd.
service libvirtd restart
Note, I did not change the user, group, and dynamic values from the defaults in the qemu.conf file.[/quote]
Thanks for the work around!
amtowsbnp wrote:
I added my USB device path to the whitelist in /etc/libvirt/qemu.conf.
BEFORE
#cgroup_device_acl = [
# "/dev/null", "/dev/full", "/dev/zero",
# "/dev/random", "/dev/urandom",
# "/dev/ptmx", "/dev/kvm", "/dev/kqemu",
# "/dev/rtc", "/dev/hpet", "/dev/net/tun",
#]
AFTER
cgroup_device_acl = [
"/dev/null", "/dev/full", "/dev/zero",
"/dev/random", "/dev/urandom",
"/dev/ptmx", "/dev/kvm", "/dev/kqemu",
"/dev/rtc", "/dev/hpet", "/dev/net/tun",
"/dev/bus/usb/008/001",
]
Then restart libvirtd.
service libvirtd restart
Note, I did not change the user, group, and dynamic values from the defaults in the qemu.conf file.[/quote]
Thanks for the work around!