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

Andrea Bolognani abologna at redhat.com
Tue Apr 5 13:08:39 UTC 2016


Changes from [v1]:

  * use strchr() instead of strstr()
  * make sure that the mount type is 'cgroup' before looking
    for mount options

  Both suggested by Thomas Huth.

Cheers.


[v1] https://www.redhat.com/archives/libvir-list/2016-April/msg00136.html

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 | 69 +++++++++++++++++++++++++++++++--------
 1 file changed, 56 insertions(+), 13 deletions(-)

-- 
2.5.5




More information about the libvir-list mailing list