Cgroup freezer support for LXC was added in libvirt-0.7.2.
Signed-off-by: Pavel Hrdina <phrdina(a)redhat.com>
---
tools/virt-host-validate-lxc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/virt-host-validate-lxc.c b/tools/virt-host-validate-lxc.c
index 3c55b1b26d..8613f37cc7 100644
--- a/tools/virt-host-validate-lxc.c
+++ b/tools/virt-host-validate-lxc.c
@@ -70,6 +70,7 @@ int virHostValidateLXC(void)
(1 << VIR_CGROUP_CONTROLLER_CPUACCT) |
(1 << VIR_CGROUP_CONTROLLER_CPUSET) |
(1 << VIR_CGROUP_CONTROLLER_DEVICES) |
+ (1 << VIR_CGROUP_CONTROLLER_FREEZER) |
(1 << VIR_CGROUP_CONTROLLER_BLKIO),
VIR_HOST_VALIDATE_FAIL) < 0) {
ret = -1;
--
2.17.1