[PATCH 0/5] Fix detecting cgroups at libvirtd restart with QEMU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>

The recent refactoring of cgroups broke the ability to detect
cgroups for running guests in the QEMU driver during libvirtd
startup. This was due to it not considering the existance of
the 'emulator' child group, as well as not honouring the
'cgroups_controllers' setting when it was present

Daniel P. Berrange (5):
  Introduce a more convenient virCgroupNewDetectMachine
  Make virCgroupIsValidMachine static
  Fix detection of 'emulator' cgroup
  Add 'controllers' arg to virCgroupNewDetect
  Skip detecting placement if controller is disabled

 src/libvirt_private.syms |  2 +-
 src/lxc/lxc_process.c    | 20 +++++++---------
 src/qemu/qemu_cgroup.c   | 17 ++++----------
 src/util/vircgroup.c     | 60 +++++++++++++++++++++++++++++++++++++++++-------
 src/util/vircgroup.h     | 12 ++++++----
 5 files changed, 73 insertions(+), 38 deletions(-)

-- 
1.8.1.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]