Re: [PATCH 9/9] qemu: add new throttle blkio cgroup elements to the test xml

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Dec 02, 2013 at 02:48:04PM +0800, Gao feng wrote:
> Signed-off-by: Guan Qiang <hzguanqiang@xxxxxxxxxxxxxxxx>
> Signed-off-by: Gao feng <gaofeng@xxxxxxxxxxxxxx>
> ---
>  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 :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]