On 12/12/2013 08:26 PM, Daniel P. Berrange wrote: > On Wed, Dec 11, 2013 at 04:29:51PM +0800, Gao feng wrote: >> With this patch, user can setup the throttle blkio cgorup >> for domain through the virsh cmd, such as: >> >> virsh blkiotune domain1 --device-read-bytes-sec /dev/sda1,1000000,/dev/sda2,2000000 >> --device-write-bytes-sec /dev/sda1,1000000 --device-read-iops-sec /dev/sda1,10000 >> --device-write-iops-sec /dev/sda1,10000,/dev/sda2,0 >> >> This patch also add manpage for these new options. >> >> Signed-off-by: Guan Qiang <hzguanqiang@xxxxxxxxxxxxxxxx> >> Signed-off-by: Gao feng <gaofeng@xxxxxxxxxxxxxx> >> --- >> include/libvirt/libvirt.h.in | 45 +++++++++++++++++++++++++++++++ >> tools/virsh-domain.c | 64 ++++++++++++++++++++++++++++++++++++++++++++ >> tools/virsh.pod | 36 +++++++++++++++++++++++-- >> 3 files changed, 143 insertions(+), 2 deletions(-) > > ACK > Pushed, thanks! -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list