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

Gao feng gaofeng at cn.fujitsu.com
Mon Dec 2 06:48:04 UTC 2013


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>
-- 
1.8.3.1




More information about the libvir-list mailing list