[libvirt] [PATCH 3/3] blkiotune: add virsh support for blkiotune interface

2013-10-24 Thread Guan Qiang
From: Guan Qiang This adds four parameters --device-read-bps, --device-write-bps, --device-read-iops and --device-write-iops to virsh command blkiotune for setting/getting blkiotune.throttle.{read/write}_{iops/bps}_device. --- tools/virsh-domain.c | 64

[libvirt] [PATCH 2/3] lxc: add blkiotune support for per device

2013-10-24 Thread Guan Qiang
From: Guan Qiang This add per-device weight, iops and bps throttle to . By extending the existed 'domainSetBlkioParameters' interface, blkiotune for per-device can be set with blkio cgroup. --- src/lxc/lxc_driver.c | 743 +- 1 file ch

[libvirt] [PATCH 0/3] Add complete blkiotune support for per-device with blkio cgroup

2013-10-24 Thread Guan Qiang
From: Guan Qiang The patches add a complete blkiotune support per-device with blkio cgroup for both lxc or qemu driver, by extending the existed 'domainSetBlkioParameters' and 'domainGetBlkioParameters' interface. Beside device weight, read/write bps and iops throttle c

[libvirt] [PATCH] Fix a PyList usage mistake

2013-08-29 Thread Guan Qiang
From: Guan Qiang Fix PyList usage mistake in Function libvirt_lxc_virDomainLxcOpenNamespace. https://bugzilla.redhat.com/show_bug.cgi?id=1002383 --- python/libvirt-lxc-override.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/libvirt-lxc-override.c b/python