[libvirt] [PATCH 0/5] Fix detecting cgroups at libvirtd restart with QEMU
Daniel P. Berrange
berrange at redhat.com
Thu Jul 25 12:20:45 UTC 2013
From: "Daniel P. Berrange" <berrange at 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
More information about the libvir-list
mailing list