[PATCH 53/53] virt-host-validate: require freezer for LXC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Cgroup freezer support for LXC was added in libvirt-0.7.2.

Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx>
---
 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

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



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux