Re: [libvirt] [PATCH v3] host-validate: Be more careful when checking for cgroup support

2016-04-11 Thread Andrea Bolognani
On Fri, 2016-04-08 at 18:53 +0200, Ján Tomko wrote: > On Fri, Apr 08, 2016 at 02:13:10PM +0200, Andrea Bolognani wrote: > > > > Simply checking whether the cgroup name appears somewhere inside > > /proc/self/cgroup is enough most of the time, but there are some > > corner cases that require a more

Re: [libvirt] [PATCH v3] host-validate: Be more careful when checking for cgroup support

2016-04-08 Thread Ján Tomko
On Fri, Apr 08, 2016 at 02:13:10PM +0200, Andrea Bolognani wrote: > Simply checking whether the cgroup name appears somewhere inside > /proc/self/cgroup is enough most of the time, but there are some > corner cases that require a more mindful parsing. > --- > tools/virt-host-validate-common.c | 43

[libvirt] [PATCH v3] host-validate: Be more careful when checking for cgroup support

2016-04-08 Thread Andrea Bolognani
Simply checking whether the cgroup name appears somewhere inside /proc/self/cgroup is enough most of the time, but there are some corner cases that require a more mindful parsing. --- tools/virt-host-validate-common.c | 43 +-- 1 file changed, 37 insertions(+),