]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Don't fail lxc domain start when memory controller support is missing
authorGuido Günther <agx@sigxcpu.org>
Fri, 15 Oct 2010 08:01:38 +0000 (10:01 +0200)
committerGuido Günther <agx@sigxcpu.org>
Tue, 19 Oct 2010 19:29:12 +0000 (21:29 +0200)
commit679b464bd41667d80b361f3d14397bb8c6180721
tree372e2049efc97631007bc1a8eea4353b38aef2e4
parent83e571141840e3079f5b6298f9072fc4989050c1
Don't fail lxc domain start when memory controller support is missing

Debian stock kernel has CONFIG_CGROUP_MEM_RES_CTLR disabled due to the
overhead [1]. Allow to start containers if the corresponding files in
the cgroup filesystem are missing. This fixes Debian bug #566180 [2].

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=534964
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=566180
src/lxc/lxc_controller.c
src/lxc/lxc_driver.c