]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vircgroupv2: store enabled controllers
authorPavel Hrdina <phrdina@redhat.com>
Mon, 22 Jul 2019 12:44:05 +0000 (14:44 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Thu, 25 Jul 2019 08:51:53 +0000 (10:51 +0200)
commit56fdf3f025207a550726767e3f0ec1f290603ba4
treefe2d1586ee461e6e4c903e9e7b78f5ddb3b0c3eb
parent7b77f3a11e9ae3e3cf0ccb71bd72d4a865b7c71e
vircgroupv2: store enabled controllers

In cgroups v2 when a new group is created by default no controller is
enabled so the detection code will not detect any controllers.

When enabling the controllers we should also store them for the group.

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