Pavel Hrdina 61ff6021d8 vircgroupmock: add support to test cgroup v2
We need to create the cgroup v2 sysfs the same way as we do for
cgroup v1.

This introduces new VIR_CGROUP_MOCK_MODE env variable which will
configure which cgroup mode each test requires.  There are three
different modes:

    - legacy: only cgroup v1 is available and it's the default mode
    - hybrid: both cgroup v1 and cgroup v2 are available and have some
        controllers
    - unified: only cgroup v2 is available

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2018-10-05 15:53:29 +02:00
..
2017-11-20 13:22:48 +01:00
2018-10-01 14:27:42 -04:00
2018-04-10 15:16:23 +02:00
2017-07-26 15:33:45 +02:00
2018-08-15 10:16:16 +02:00