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