Re: [libvirt] need custom /dev entries in LXC

2013-06-03 Thread Daniel P. Berrange
On Wed, May 22, 2013 at 06:22:12PM -0400, Michael R. Hines wrote: Hi, We run nvidia devices inside libvirt-managed LXC containers. It used to be that simply doing: $ echo 'c 195:* rwm' /sys/fs/cgroup/devices/libvirt/lxc Then, after booting the container, we would do: $ mknod -m

Re: [libvirt] need custom /dev entries in LXC

2013-06-03 Thread Michael R. Hines
On 06/03/2013 06:03 AM, Daniel P. Berrange wrote: On Wed, May 22, 2013 at 06:22:12PM -0400, Michael R. Hines wrote: Hi, We run nvidia devices inside libvirt-managed LXC containers. It used to be that simply doing: $ echo 'c 195:* rwm' /sys/fs/cgroup/devices/libvirt/lxc Then, after booting

[libvirt] need custom /dev entries in LXC

2013-05-22 Thread Michael R. Hines
Hi, We run nvidia devices inside libvirt-managed LXC containers. It used to be that simply doing: $ echo 'c 195:* rwm' /sys/fs/cgroup/devices/libvirt/lxc Then, after booting the container, we would do: $ mknod -m 666 /dev/nvidia0 c 195 0 would be good enough to run our CUDA