提交 53d3874c 编写于 作者: A Andrea Bolognani

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.
上级 45408cd8
...@@ -70,7 +70,7 @@ int virHostValidateLXC(void) ...@@ -70,7 +70,7 @@ int virHostValidateLXC(void)
if (virHostValidateCGroupController("LXC", "cpu", if (virHostValidateCGroupController("LXC", "cpu",
VIR_HOST_VALIDATE_FAIL, VIR_HOST_VALIDATE_FAIL,
"CGROUP_SCHED") < 0) "CGROUP_CPU") < 0)
ret = -1; ret = -1;
if (virHostValidateCGroupController("LXC", "cpuacct", if (virHostValidateCGroupController("LXC", "cpuacct",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册