On Wed, Dec 11, 2013 at 04:29:50PM +0800, Gao feng wrote:
This patch introduces virCgroupSetBlkioDeviceReadIops,
virCgroupSetBlkioDeviceWriteIops,
virCgroupSetBlkioDeviceReadBps and
virCgroupSetBlkioDeviceWriteBps,
we can use these interfaces to set up throttle
blkio cgroup for domain.
This patch also adds the new throttle blkio cgroup
elements to the test xml.
Signed-off-by: Guan Qiang <hzguanqiang(a)corp.netease.com>
Signed-off-by: Gao feng <gaofeng(a)cn.fujitsu.com>
---
src/libvirt_private.syms | 4 +
src/lxc/lxc_cgroup.c | 27 ++-
src/qemu/qemu_cgroup.c | 27 ++-
src/util/vircgroup.c | 224 ++++++++++++++++++++-
src/util/vircgroup.h | 16 ++
.../qemuxml2argv-blkiotune-device.xml | 8 +
6 files changed, 295 insertions(+), 11 deletions(-)
ACK
Daniel
--
|:
http://berrange.com -o-
http://www.flickr.com/photos/dberrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|:
http://entangle-photo.org -o-
http://live.gnome.org/gtk-vnc :|