mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
cgroup: add stub for virCgroupNew
The previous commit exported the function but forgot to add a non-Linux stub. Signed-off-by: Ján Tomko <jtomko@redhat.com> Fixes: 126cb34a206a44f04e364700b46426dff9f387d5
This commit is contained in:
parent
126cb34a20
commit
0a8d561433
@ -2820,6 +2820,17 @@ virCgroupNewPartition(const char *path G_GNUC_UNUSED,
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
virCgroupNew(const char *path G_GNUC_UNUSED,
|
||||
int controllers G_GNUC_UNUSED,
|
||||
virCgroupPtr *group G_GNUC_UNUSED)
|
||||
{
|
||||
virReportSystemError(ENXIO, "%s",
|
||||
_("Control groups not supported on this platform"));
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
virCgroupNewSelf(virCgroupPtr *group G_GNUC_UNUSED)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user