Fix the build on FreeBSD, broken by commit 4882618.
Signed-off-by: Ján Tomko <jtomko(a)redhat.com>
---
Pushed under the build breaker rule.
src/util/vircgroup.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/util/vircgroup.c b/src/util/vircgroup.c
index d69f71b..9bbe694 100644
--- a/src/util/vircgroup.c
+++ b/src/util/vircgroup.c
@@ -4029,6 +4029,17 @@ virCgroupNewDetectMachine(const char *name ATTRIBUTE_UNUSED,
return -1;
}
+
+int virCgroupTerminateMachine(const char *name ATTRIBUTE_UNUSED,
+ const char *drivername ATTRIBUTE_UNUSED,
+ bool privileged ATTRIBUTE_UNUSED)
+{
+ virReportSystemError(ENXIO, "%s",
+ _("Control groups not supported on this platform"));
+ return -1;
+}
+
+
int
virCgroupNewMachine(const char *name ATTRIBUTE_UNUSED,
const char *drivername ATTRIBUTE_UNUSED,
--
2.0.4
Show replies by date