From: "Daniel P. Berrange" <berrange(a)redhat.com>
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