]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vircgroup: Introduce virCgroupControllerAvailable
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 31 Mar 2015 09:39:13 +0000 (11:39 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 8 Apr 2015 09:54:24 +0000 (11:54 +0200)
commitd65acbde3502e9a16eea045c2d6cd1e02284f66b
treebbcd7ca97d0639e09ceccf9a676fef3369f3e118
parentcfcdf5ff01aa96a0afcf8f1984967c7eaa2b4330
vircgroup: Introduce virCgroupControllerAvailable

This new internal API checks if given CGroup controller is
available.  It is going to be needed later when we need to make a
decision whether pin domain memory onto NUMA nodes using cpuset
CGroup controller or using numa_set_membind().

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/libvirt_private.syms
src/util/vircgroup.c
src/util/vircgroup.h
tests/vircgrouptest.c