On 10/02/2018 10:43 AM, Pavel Hrdina wrote:
Place cgroup v2 backend type before cgroup v1 to make it obvious
that cgroup v2 is preferred implementation.
Following patches will introduce support for hybrid configuration
which will allow us to use both at the same time, but we should
prefer cgroup v2 regardless.
Signed-off-by: Pavel Hrdina <phrdina(a)redhat.com>
---
src/Makefile.am | 1 +
src/libvirt_private.syms | 3 ++
src/util/Makefile.inc.am | 2 ++
src/util/vircgroup.c | 3 ++
src/util/vircgroupbackend.c | 2 ++
src/util/vircgroupbackend.h | 3 +-
src/util/vircgrouppriv.h | 9 ++++++
src/util/vircgroupv2.c | 63 +++++++++++++++++++++++++++++++++++++
src/util/vircgroupv2.h | 27 ++++++++++++++++
9 files changed, 112 insertions(+), 1 deletion(-)
create mode 100644 src/util/vircgroupv2.c
create mode 100644 src/util/vircgroupv2.h
ACK
Michal