]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Don't return an error on failure to create blkio controller
authorHu Tao <hutao@cn.fujitsu.com>
Mon, 7 Mar 2011 03:49:12 +0000 (11:49 +0800)
committerEric Blake <eblake@redhat.com>
Fri, 18 Mar 2011 22:59:03 +0000 (16:59 -0600)
commitae5155768f5bc7af6450c657e1f2fe1f4a129c57
tree27697e2f2af653c1bbe23222b7c22614ee60aecd
parente36804ce86c07651012798885f17bd802cd40fbf
Don't return an error on failure to create blkio controller

This patch enables cgroup controllers as much as possible by skipping
the creation of blkio controller when running with old kernels that
doesn't support multi-level directory for blkio controller.

Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
src/util/cgroup.c