提交 f1e48297 编写于 作者: D Daniel P. Berrange

cgroup: add virCgroupAddMachineTask stub for win32

Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
上级 44f79a0b
......@@ -4288,6 +4288,16 @@ virCgroupAddTask(virCgroupPtr group ATTRIBUTE_UNUSED,
}
int
virCgroupAddMachineTask(virCgroupPtr group ATTRIBUTE_UNUSED,
pid_t pid ATTRIBUTE_UNUSED)
{
virReportSystemError(ENXIO, "%s",
_("Control groups not supported on this platform"));
return -1;
}
int
virCgroupAddTaskController(virCgroupPtr group ATTRIBUTE_UNUSED,
pid_t pid ATTRIBUTE_UNUSED,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册