mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
virt-host-validate: require freezer for LXC
Cgroup freezer support for LXC was added in libvirt-0.7.2. Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
0f4d7daa8c
commit
0a7101c89b
@ -70,6 +70,7 @@ int virHostValidateLXC(void)
|
|||||||
(1 << VIR_CGROUP_CONTROLLER_CPUACCT) |
|
(1 << VIR_CGROUP_CONTROLLER_CPUACCT) |
|
||||||
(1 << VIR_CGROUP_CONTROLLER_CPUSET) |
|
(1 << VIR_CGROUP_CONTROLLER_CPUSET) |
|
||||||
(1 << VIR_CGROUP_CONTROLLER_DEVICES) |
|
(1 << VIR_CGROUP_CONTROLLER_DEVICES) |
|
||||||
|
(1 << VIR_CGROUP_CONTROLLER_FREEZER) |
|
||||||
(1 << VIR_CGROUP_CONTROLLER_BLKIO),
|
(1 << VIR_CGROUP_CONTROLLER_BLKIO),
|
||||||
VIR_HOST_VALIDATE_FAIL) < 0) {
|
VIR_HOST_VALIDATE_FAIL) < 0) {
|
||||||
ret = -1;
|
ret = -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user