On Thu, Oct 25, 2012 at 06:38:25PM +0800, Gao feng wrote:
> 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 <[email protected]>
> ---
> src/libvirt_private.syms | 1 +
> src/util/cgroup.c | 15 +++++++++++++++
> src/util/cgroup.h | 2 ++
> 3 files changed, 18 insertions(+), 0 deletions(-)
ACK
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list