KVM USB pass Centos6 doesn't work, worked in Centos 5.6

Issues related to software problems.
majun
Posts: 145
Joined: 2010/03/11 11:33:59

Re: KVM USB pass Centos6 doesn't work, worked in Centos 5.6

Post by majun » 2011/11/22 16:31:01

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?

Kirsten
Posts: 1
Joined: 2012/01/23 19:32:46
Contact:

Re: KVM USB pass Centos6 doesn't work, worked in Centos 5.6

Post by Kirsten » 2012/01/23 19:38:56

[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!

Post Reply