Re: [PATCH v5 4/6] add interface virCgroupGetAppRoot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <gaofeng@xxxxxxxxxxxxxx>
> ---
>  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
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]