]> git.ipfire.org Git - thirdparty/libvirt.git/commit
add interface virCgroupGetAppRoot
authorGao feng <gaofeng@cn.fujitsu.com>
Mon, 12 Nov 2012 07:02:26 +0000 (15:02 +0800)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 28 Nov 2012 10:28:49 +0000 (10:28 +0000)
commit729acc23dfe82cc494be561c90b1ceb45aebb08d
tree09b61e0e8315a467f85b63a3cd5fd7eca6c1e4b5
parent4d4f371e09ad55bd6d932299d47a8c3c29124b06
add interface virCgroupGetAppRoot

because libvirt_lxc's cgroup mountpoint is what it shown
in /proc/self/cgroup.

we can get container's cgroup through virCgroupNew("/", &group),
add interface virCgroupGetAppRoot to help container to
get it's cgroup.

Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
src/libvirt_private.syms
src/util/cgroup.c
src/util/cgroup.h