mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-08 22:15:21 +00:00
Add virCgroupTerminateMachine stub
Fix the build on FreeBSD, broken by commit4882618
. Signed-off-by: Ján Tomko <jtomko@redhat.com> (cherry picked from commit99b2b4571d
)
This commit is contained in:
parent
870ea74ed5
commit
a91a960f0e
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user