mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
cgroup: add virCgroupAddMachineTask stub for win32
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
44f79a0bd0
commit
f1e48297cf
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user