]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Move cgroup setup code out of lxc_controller.c
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 13 Jul 2012 11:21:27 +0000 (12:21 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 19 Jul 2012 15:55:00 +0000 (16:55 +0100)
commit43e532d3218d56639cc762aaa5585bda374c710a
tree3dcb92b74acf4be4b722151dfd9d06c8942ba514
parentf93518c7efe1a610efa6c41184b01cba999b60c1
Move cgroup setup code out of lxc_controller.c

Move the cgroup setup code out of the lxc_controller.c file
and into lxc_cgroup.{c,h}. This reduces the size of the
lxc_controller.c file and paves the way to invoke cgroup
setup from lxc_driver.c instead of lxc_controller.c in the
future

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
po/POTFILES.in
src/Makefile.am
src/lxc/lxc_cgroup.c [new file with mode: 0644]
src/lxc/lxc_cgroup.h [new file with mode: 0644]
src/lxc/lxc_controller.c