[libvirt] [PATCH 0/2] [Bug 1760233] Better support for non-systemd distributions

Miguel Ángel Arruga Vivas rosen644835 at gmail.com
Mon Nov 4 14:55:21 UTC 2019


Hi everybody,

The following patches try to enhance the support for non-systemd
configurations.

The first patch just removes the references to the cgroups created by
systemd, only leaving the reference to /machine cgroup, created by
libvirtd for hosted virtual machines.

The second one ensures the creation of that group when using
cgroups-v2, as the error message provided in bug report[1] is raised
by checking too early the existence of the file cgroup.controllers,
before the actual creation of the control group.  I tried to solve it
at the highest abstraction level, by chaining properly the object
construction.

Happy hacking!
Miguel

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1760233

Miguel Ángel Arruga Vivas (2):
  doc: cgroups: Remove unwanted references to systemd
  vircgroup: Ensure /machine group is associated with its parent

 docs/cgroups.html.in | 13 +++----------
 src/util/vircgroup.c |  8 +++++---
 2 files changed, 8 insertions(+), 13 deletions(-)

-- 
2.23.0




More information about the libvir-list mailing list