[libvirt] [PATCH 9/9] qemu: add new throttle blkio cgroup elements to the test xml
Daniel P. Berrange
berrange at redhat.com
Tue Dec 10 15:40:34 UTC 2013
On Mon, Dec 02, 2013 at 02:48:04PM +0800, Gao feng wrote:
> Signed-off-by: Guan Qiang <hzguanqiang at corp.netease.com>
> Signed-off-by: Gao feng <gaofeng at cn.fujitsu.com>
> ---
> tests/qemuxml2argvdata/qemuxml2argv-blkiotune-device.xml | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/tests/qemuxml2argvdata/qemuxml2argv-blkiotune-device.xml b/tests/qemuxml2argvdata/qemuxml2argv-blkiotune-device.xml
> index 743cf29..a113efb 100644
> --- a/tests/qemuxml2argvdata/qemuxml2argv-blkiotune-device.xml
> +++ b/tests/qemuxml2argvdata/qemuxml2argv-blkiotune-device.xml
> @@ -8,10 +8,18 @@
> <device>
> <path>/dev/sda</path>
> <weight>400</weight>
> + <read_iops>10000</read_iops>
> + <write_iops>10000</write_iops>
> + <read_bps>10000</read_bps>
> + <write_bps>10000</write_bps>
> </device>
> <device>
> <path>/dev/sdb</path>
> <weight>900</weight>
> + <read_iops>20000</read_iops>
> + <write_iops>20000</write_iops>
> + <read_bps>20000</read_bps>
> + <write_bps>20000</write_bps>
> </device>
> </blkiotune>
> <vcpu placement='static'>1</vcpu>
Should be done in the same patch that modifies the XML parser or the
QEMU driver.
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 :|
More information about the libvir-list
mailing list