mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-30 18:50:18 +03:00
vircgroup: fix MinGW build
Broken by commit <901d2b9c87>. Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
242b7c2d38
commit
baebd9f3d8
@ -4335,6 +4335,21 @@ virCgroupSetMemory(virCgroupPtr group ATTRIBUTE_UNUSED,
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
virCgroupGetMemoryStat(virCgroupPtr group ATTRIBUTE_UNUSED,
|
||||
unsigned long long *cache ATTRIBUTE_UNUSED,
|
||||
unsigned long long *activeAnon ATTRIBUTE_UNUSED,
|
||||
unsigned long long *inactiveAnon ATTRIBUTE_UNUSED,
|
||||
unsigned long long *activeFile ATTRIBUTE_UNUSED,
|
||||
unsigned long long *inactiveFile ATTRIBUTE_UNUSED,
|
||||
unsigned long long *unevictable ATTRIBUTE_UNUSED)
|
||||
{
|
||||
virReportSystemError(ENOSYS, "%s",
|
||||
_("Control groups not supported on this platform"));
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
virCgroupGetMemoryUsage(virCgroupPtr group ATTRIBUTE_UNUSED,
|
||||
unsigned long *kb ATTRIBUTE_UNUSED)
|
||||
|
Loading…
x
Reference in New Issue
Block a user