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

Eric Blake eblake at redhat.com
Thu Sep 6 22:55:23 UTC 2012


On 09/06/2012 08:23 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at 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 +++++++++++++++++++++++++++++++++----------------
>  src/util/cgroup.h       |  2 --
>  2 files changed, 48 insertions(+), 25 deletions(-)
> 

ACK

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120906/451f1c35/attachment-0001.sig>


More information about the libvir-list mailing list