]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Revert "cgroup/LXC: Do not condition availability of v2 by controllers"
authorPavel Hrdina <phrdina@redhat.com>
Tue, 25 Oct 2022 09:34:43 +0000 (11:34 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Tue, 25 Oct 2022 11:51:45 +0000 (13:51 +0200)
commit76c6e9140226337a91591e484e7c9ce1538f5c84
treeb4c9701f72280e3feacf12142a5280930ad4311e
parent122064d449f305e457d1ef6d161ee01793af2e00
Revert "cgroup/LXC: Do not condition availability of v2 by controllers"

This reverts commit e49313b54ed2a149c71f9073659222742ff3ffb0.
This reverts commit a0f37232b9c4296ca16955cc625f75eb848ace39.

Revert them together to not break build.

This fix of the issue is incorrect and breaks usage of other controllers
in hybrid mode that systemd creates, specifically usage of devices and
cpuacct controllers as they are now assumed to be part of the cgroup v2
topology which is not true.

We need to find different solution to the issue.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/util/vircgroup.c
src/util/vircgroupv2.c