On 12/12/2013 08:24 PM, Daniel P. Berrange wrote: > 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@xxxxxxxxxxxxxxxx> >> Signed-off-by: Gao feng <gaofeng@xxxxxxxxxxxxxx> >> --- >> 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 > Pushed, thanks! -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list