This is an updated series of the v1 patches here:
http://www.redhat.com/archives/libvir-list/2009-July/msg00435.html
I have re-ordered the patches a little to put the generic refactoring
all first. I identified some bugs in the existing LXC driver schedular
parameter handling which I fixed. Also fixed virsh to use the correct
data types when setting schedular parameters instead of hardcoding
a bogus type. Finally, I've made QEMU's use of cgroups configurable.
Daniel P. Berrange (8):
Use enums for cgroup controller types / labels
Use virFileReadAll/virFileWriteStr for key cgroup read/write helpers
Make cgroups a little more efficient
Refactor cgroups to allow a group per driver to be managed directly
Place every QEMU guest in a private cgroup
Implement schedular tunables API using cgroups
Use cgroups for block device whitelisting in QEMU guests
Make QEMU cgroups use configurable
qemud/libvirtd_qemu.aug | 2 +
qemud/test_libvirtd_qemu.aug | 21 +-
src/Makefile.am | 3 +-
src/cgroup.c | 867 +++++++++++++++++++++++-------------------
src/cgroup.h | 42 ++-
src/libvirt_private.syms | 2 +
src/lxc_conf.h | 2 +
src/lxc_controller.c | 19 +-
src/lxc_driver.c | 34 ++-
src/qemu.conf | 34 ++
src/qemu_conf.c | 61 +++
src/qemu_conf.h | 5 +
src/qemu_driver.c | 399 +++++++++++++++++++-
src/util.c | 47 +++-
src/util.h | 5 +
src/virsh.c | 232 +++++++-----
16 files changed, 1237 insertions(+), 538 deletions(-)