libvirt/tests/vircgroupdata/systemd.cgroups
Pavel Hrdina 5cf1b25708 vircgroupmock: rewrite cgroup fopen mocking
Move all the cgroup data into separate files out of vircgroupmock.c
and rework the fopen function to load data from files.  This will
make it easier to add more test cases.

Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2018-09-25 09:59:23 +02:00

9 lines
238 B
Plaintext

#subsys_name hierarchy num_cgroups enabled
cpuset 2 4 1
cpu 3 48 1
cpuacct 3 48 1
memory 4 4 1
devices 5 4 1
freezer 6 4 1
blkio 8 4 1