[libvirt PATCH 0/4] src: add configurable support for cgroups usage

Daniel P. Berrangé berrange at redhat.com
Fri Mar 20 13:40:10 UTC 2020


This simple series allows apps to choose how cgroups are managed by
libvirt, between cgroupfs and machined, or disabled entirely.

Daniel P. Berrangé (4):
  conf: allow different resource registration modes
  util: allow choice between machined or direct cgroups filesystem
  qemu: wire up support for controlling use of cgroups backend
  lxc: wire up support for controlling use of cgroups backend

 docs/formatdomain.html.in                 | 24 +++++++-
 docs/schemas/domaincommon.rng             | 17 +++++-
 src/conf/domain_conf.c                    | 46 ++++++++++++----
 src/conf/domain_conf.h                    | 13 +++++
 src/libvirt_private.syms                  |  2 +
 src/lxc/lxc_cgroup.c                      | 32 +++++++++++
 src/lxc/lxc_cgroup.h                      |  3 +
 src/lxc/lxc_process.c                     |  7 ++-
 src/qemu/qemu_cgroup.c                    | 67 +++++++++++++++++++++--
 src/qemu/qemu_command.c                   |  9 +--
 src/util/vircgroup.c                      | 57 ++++++++++++-------
 src/util/vircgroup.h                      |  7 +++
 tests/lxcxml2xmldata/lxc-capabilities.xml |  2 +-
 tests/lxcxml2xmldata/lxc-idmap.xml        |  2 +-
 14 files changed, 239 insertions(+), 49 deletions(-)

-- 
2.24.1




More information about the libvir-list mailing list