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
}
+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)
{