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

Andrea Bolognani abologna at redhat.com
Mon Apr 4 14:46:57 UTC 2016


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




More information about the libvir-list mailing list