mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-18 10:35:20 +00:00
host-validate: Fix suggestion for missing cpu cgroup
If the cpu cgroup is not found when validating an host for LXC support, virt-host-validate will suggest to enable the CONFIG_CGROUP_SCHED kconfig option. The appropriate option is really CONFIG_CGROUP_CPU. The QEMU checks already get that right, so no changes needed.
This commit is contained in:
parent
45408cd892
commit
53d3874ce3
@ -70,7 +70,7 @@ int virHostValidateLXC(void)
|
||||
|
||||
if (virHostValidateCGroupController("LXC", "cpu",
|
||||
VIR_HOST_VALIDATE_FAIL,
|
||||
"CGROUP_SCHED") < 0)
|
||||
"CGROUP_CPU") < 0)
|
||||
ret = -1;
|
||||
|
||||
if (virHostValidateCGroupController("LXC", "cpuacct",
|
||||
|
Loading…
x
Reference in New Issue
Block a user