]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vircgroup: no need to use PID in virCgroupEnableMissingControllers
authorPavel Hrdina <phrdina@redhat.com>
Thu, 15 Oct 2020 14:59:03 +0000 (16:59 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Tue, 3 Nov 2020 20:26:32 +0000 (21:26 +0100)
commitc16da281e4087ee23424e9e9c75a1c4694f770ee
treed2437589cbdea10abfacd6665d0ef8878447a1bc
parent13958a8c5bd23f0224b219feaac4b20dcb64b2c3
vircgroup: no need to use PID in virCgroupEnableMissingControllers

This function is relevant only with cgroups v1 where it creates
hierarchy for controllers that are not managed by systemd. PID is used
to detect a placement of current process but in this situation we are
building the hierarchy for already known placement.

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