[libvirt] [PATCH] Don't assume use of /sys/fs/cgroup

2012-09-06 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com The introduction of /sys/fs/cgroup came in fairly recent kernels. Prior to that time distros would pick a custom directory like /cgroup or /dev/cgroup. We need to auto-detect where this is, rather than hardcoding it --- src/lxc/lxc_container.c | 71

Re: [libvirt] [PATCH] Don't assume use of /sys/fs/cgroup

2012-09-06 Thread Eric Blake
On 09/06/2012 08:23 AM, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com The introduction of /sys/fs/cgroup came in fairly recent kernels. Prior to that time distros would pick a custom directory like /cgroup or /dev/cgroup. We need to auto-detect where this is, rather