[libvirt] [PATCH 01/53] util: introduce cgroup v2 files

Michal Privoznik mprivozn at redhat.com
Wed Oct 3 14:49:42 UTC 2018


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 at 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




More information about the libvir-list mailing list