[libvirt] [PATCH 0/4 v2] Add blkio cgroup support

Hi This patchset adds blkio cgroup support for qemu and lxc. [PATCH 1/4] cgroup: Enable cgroup hierarchy for blkio cgroup [PATCH 2/4 v2] cgroup: Implement blkio.weight tuning API. [PATCH 3/4 v2] qemu: Implement blkio tunable XML configuration and parsing. [PATCH 4/4] LXC: LXC Blkio weight configuration support. Will post a patchset to implement virsh command "blkiotune" to tune blkio cgroup parameter later on. conf/domain_conf.c | 15 ++++++++++++++- conf/domain_conf.h | 4 ++++ libvirt_private.syms | 2 ++ lxc/lxc_controller.c | 10 ++++++++++ qemu/qemu_cgroup.c | 16 +++++++++++++++- qemu/qemu_conf.c | 3 ++- util/cgroup.c | 41 ++++++++++++++++++++++++++++++++++++++++- util/cgroup.h | 4 ++++ 8 files changed, 91 insertions(+), 4 deletions(-) Thanks Gui

2011/1/27 Gui Jianfeng <guijianfeng@cn.fujitsu.com>:
Hi
This patchset adds blkio cgroup support for qemu and lxc.
[PATCH 1/4] cgroup: Enable cgroup hierarchy for blkio cgroup [PATCH 2/4 v2] cgroup: Implement blkio.weight tuning API. [PATCH 3/4 v2] qemu: Implement blkio tunable XML configuration and parsing. [PATCH 4/4] LXC: LXC Blkio weight configuration support.
Will post a patchset to implement virsh command "blkiotune" to tune blkio cgroup parameter later on.
Besides virsh integration this patch series also misses documentation of the new element in docs/formatdomain.html.in. We should really get in the habit to insist on directly documenting new features as we already have to much under- and undocumented things. Matthias

Matthias Bolte wrote:
2011/1/27 Gui Jianfeng <guijianfeng@cn.fujitsu.com>:
Hi
This patchset adds blkio cgroup support for qemu and lxc.
[PATCH 1/4] cgroup: Enable cgroup hierarchy for blkio cgroup [PATCH 2/4 v2] cgroup: Implement blkio.weight tuning API. [PATCH 3/4 v2] qemu: Implement blkio tunable XML configuration and parsing. [PATCH 4/4] LXC: LXC Blkio weight configuration support.
Will post a patchset to implement virsh command "blkiotune" to tune blkio cgroup parameter later on.
Besides virsh integration this patch series also misses documentation of the new element in docs/formatdomain.html.in.
We should really get in the habit to insist on directly documenting new features as we already have to much under- and undocumented things.
Ok, I'll post a seperate patch to add the documentation. Thanks, Gui
Matthias

于 2011年01月27日 13:16, Gui Jianfeng 写道:
Hi
This patchset adds blkio cgroup support for qemu and lxc.
[PATCH 1/4] cgroup: Enable cgroup hierarchy for blkio cgroup [PATCH 2/4 v2] cgroup: Implement blkio.weight tuning API. [PATCH 3/4 v2] qemu: Implement blkio tunable XML configuration and parsing. [PATCH 4/4] LXC: LXC Blkio weight configuration support.
Will post a patchset to implement virsh command "blkiotune" to tune blkio cgroup parameter later on.
conf/domain_conf.c | 15 ++++++++++++++- conf/domain_conf.h | 4 ++++ libvirt_private.syms | 2 ++ lxc/lxc_controller.c | 10 ++++++++++ qemu/qemu_cgroup.c | 16 +++++++++++++++- qemu/qemu_conf.c | 3 ++- util/cgroup.c | 41 ++++++++++++++++++++++++++++++++++++++++- util/cgroup.h | 4 ++++ 8 files changed, 91 insertions(+), 4 deletions(-)
XML schema changes are missed? Regards Osier
participants (3)
-
Gui Jianfeng
-
Matthias Bolte
-
Osier Yang