]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vircgroup: introduce virCgroupV2DetectControllers
authorPavel Hrdina <phrdina@redhat.com>
Tue, 25 Sep 2018 12:37:21 +0000 (14:37 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Fri, 5 Oct 2018 13:53:29 +0000 (15:53 +0200)
commite1bb7fffe2571e6a337bd87a9c5ed487ee6ee046
tree285c9e388a6ddd5b0ea9d88621255ef3196cd339
parentf7394dcf010fc4be50b822e290e701430d45325d
vircgroup: introduce virCgroupV2DetectControllers

Cgroup v2 has only single mount point for all controllers.  The list
of controllers is stored in cgroup.controllers file, name of controllers
are separated by space.

In cgroup v2 there is no cpuacct controller, the cpu.stat file always
exists with usage stats.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
src/util/vircgroupv2.c