]> xenbits.xensource.com Git - libvirt.git/commit
mount fuse's meminfo file to container's /proc/meminfo
authorGao feng <gaofeng@cn.fujitsu.com>
Mon, 12 Nov 2012 07:02:28 +0000 (15:02 +0800)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 28 Nov 2012 10:28:49 +0000 (10:28 +0000)
commitdf33ecdd9e897cf6af56e2120d44bfbcccc80a32
tree6d96962642ecebf6b3e82b28ec856df11f50b6c4
parentd671c0ed1b933c73f1e2cc8e990bf06be3c84f05
mount fuse's meminfo file to container's /proc/meminfo

we already have virtualize meminfo for container through fuse filesystem,
add function lxcContainerMountProcFuse to mount this meminfo file to
the container's /proc/meminfo.

So we can isolate container's /proc/meminfo from host now.

Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
src/lxc/lxc_container.c