mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-08 14:29:56 +00:00
Add virCgroupTerminateMachine stub
Fix the build on FreeBSD, broken by commit 4882618
.
Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
4acc03ae8b
commit
99b2b4571d
@ -4029,6 +4029,17 @@ virCgroupNewDetectMachine(const char *name ATTRIBUTE_UNUSED,
|
|||||||
return -1;
|
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
|
int
|
||||||
virCgroupNewMachine(const char *name ATTRIBUTE_UNUSED,
|
virCgroupNewMachine(const char *name ATTRIBUTE_UNUSED,
|
||||||
const char *drivername ATTRIBUTE_UNUSED,
|
const char *drivername ATTRIBUTE_UNUSED,
|
||||||
|
Loading…
Reference in New Issue
Block a user