Re: [libvirt] [PATCH 0/2] host-validate: Be more careful when checking for cgroups

2016-04-05 Thread Andrea Bolognani
On Mon, 2016-04-04 at 16:46 +0200, Andrea Bolognani wrote:
> Basically, the existing code was built around the assumption that
> no cgroup name could appear as part of the name of another cgroup...
> 
> Unfortunately, valid cgroup names include 'cpu', 'cpuacct' and 'cpuset'.
> 
> This series removes the assumption.

v2's out:

  https://www.redhat.com/archives/libvir-list/2016-April/msg00182.html

Cheers.

-- 
Andrea Bolognani
Software Engineer - Virtualization Team

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] [PATCH 0/2] host-validate: Be more careful when checking for cgroups

2016-04-04 Thread Andrea Bolognani
Basically, the existing code was built around the assumption that
no cgroup name could appear as part of the name of another cgroup...

Unfortunately, valid cgroup names include 'cpu', 'cpuacct' and 'cpuset'.

This series removes the assumption.

Cheers.


Andrea Bolognani (2):
  host-validate: Be more careful when checking for cgroup support
  host-validate: Be more careful when checking for cgroup mounts

 tools/virt-host-validate-common.c | 67 +++
 1 file changed, 53 insertions(+), 14 deletions(-)

-- 
2.5.5

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list