Re: [libvirt] [PATCH 1/2] vircgroup: introduce virCgroupKillRecursiveCB

2018-12-13 Thread Michal Privoznik
On 12/12/18 11:17 AM, Pavel Hrdina wrote: > The rewrite to support cgroup v2 missed this function. In cgroup v2 > we have different files to track tasks. > > We would fail to remove cgroup on non-systemd OSes if there is any > extra process assigned to guest cgroup because we would not kill any

[libvirt] [PATCH 1/2] vircgroup: introduce virCgroupKillRecursiveCB

2018-12-12 Thread Pavel Hrdina
The rewrite to support cgroup v2 missed this function. In cgroup v2 we have different files to track tasks. We would fail to remove cgroup on non-systemd OSes if there is any extra process assigned to guest cgroup because we would not kill any process form the guest cgroup. Signed-off-by: Pavel