]> xenbits.xensource.com Git - libvirt.git/commit
vircgroup: introduce virCgroupV2DetectPlacement
authorPavel Hrdina <phrdina@redhat.com>
Fri, 14 Sep 2018 21:46:42 +0000 (23:46 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Fri, 5 Oct 2018 13:53:29 +0000 (15:53 +0200)
commit1efcf202e777d32600e90f3176e0357053341533
tree706cefa5ecb6805300ed3b928d2b4514af87fef4
parent50f61a46fcd0f25f98bb89db74bea76bca5dc4a4
vircgroup: introduce virCgroupV2DetectPlacement

If the placement was copied from parent or set to absolute path
there is nothing to do, otherwise set the placement based on
process placement from /proc/self/cgroup or /proc/{pid}/cgroup.

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