Re: [libvirt] [PATCH 5/5] util: vircgroupv2: don't error out if enabling controller fails

2019-06-21 Thread Pavel Hrdina
On Fri, Jun 21, 2019 at 11:58:16AM +0200, Ján Tomko wrote: > On Thu, Jun 20, 2019 at 01:25:45PM +0200, Pavel Hrdina wrote: > > Currently CPU controller cannot be enabled if there is any real-time > > task running and is assigned to non-root cgroup which is the case on > > several distributions with

Re: [libvirt] [PATCH 5/5] util: vircgroupv2: don't error out if enabling controller fails

2019-06-21 Thread Ján Tomko
On Thu, Jun 20, 2019 at 01:25:45PM +0200, Pavel Hrdina wrote: Currently CPU controller cannot be enabled if there is any real-time task running and is assigned to non-root cgroup which is the case on several distributions with graphical environment. Instead of erroring out treat it as the contro

[libvirt] [PATCH 5/5] util: vircgroupv2: don't error out if enabling controller fails

2019-06-20 Thread Pavel Hrdina
Currently CPU controller cannot be enabled if there is any real-time task running and is assigned to non-root cgroup which is the case on several distributions with graphical environment. Instead of erroring out treat it as the controller is not available. Signed-off-by: Pavel Hrdina --- src/ut