mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
qemu: Modify the structure _virDomainBlockIoTuneInfo.
Modify the structure _virDomainBlockIoTuneInfo to support these the new options. Change the initialization of the variable expectedInfo in qemumonitorjsontest.c to avoid compiling problem. Add documentation about the new xml options Signed-off-by: Matthias Gatto <matthias.gatto@outscale.com>
This commit is contained in:
committed by
Michal Privoznik
parent
c040e14bff
commit
e34ffa96fb
@@ -2119,6 +2119,31 @@
|
||||
<dt><code>write_iops_sec</code></dt>
|
||||
<dd>The optional <code>write_iops_sec</code> element is the
|
||||
write I/O operations per second.</dd>
|
||||
<dt><code>total_bytes_sec_max</code></dt>
|
||||
<dd>The optional <code>total_bytes_sec_max</code> element is the
|
||||
maximum total throughput limit in bytes per second. This cannot
|
||||
appear with <code>read_bytes_sec_max</code>
|
||||
or <code>write_bytes_sec_max</code>.</dd>
|
||||
<dt><code>read_bytes_sec_max</code></dt>
|
||||
<dd>The optional <code>read_bytes_sec_max</code> element is the
|
||||
maximum read throughput limit in bytes per second.</dd>
|
||||
<dt><code>write_bytes_sec_max</code></dt>
|
||||
<dd>The optional <code>write_bytes_sec_max</code> element is the
|
||||
maximum write throughput limit in bytes per second.</dd>
|
||||
<dt><code>total_iops_sec_max</code></dt>
|
||||
<dd>The optional <code>total_iops_sec_max</code> element is the
|
||||
maximum total I/O operations per second. This cannot
|
||||
appear with <code>read_iops_sec_max</code>
|
||||
or <code>write_iops_sec_max</code>.</dd>
|
||||
<dt><code>read_iops_sec_max</code></dt>
|
||||
<dd>The optional <code>read_iops_sec_max</code> element is the
|
||||
maximum read I/O operations per second.</dd>
|
||||
<dt><code>write_iops_sec_max</code></dt>
|
||||
<dd>The optional <code>write_iops_sec_max</code> element is the
|
||||
maximum write I/O operations per second.</dd>
|
||||
<dt><code>size_iops_sec</code></dt>
|
||||
<dd>The optional <code>size_iops_sec</code> element is the
|
||||
size of I/O operations per second.</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
<dt><code>driver</code></dt>
|
||||
|
||||
@@ -4548,6 +4548,49 @@
|
||||
</interleave>
|
||||
</group>
|
||||
</choice>
|
||||
<choice>
|
||||
<element name="total_bytes_sec_max">
|
||||
<data type="unsignedLong"/>
|
||||
</element>
|
||||
<group>
|
||||
<interleave>
|
||||
<optional>
|
||||
<element name="read_bytes_sec_max">
|
||||
<data type="unsignedLong"/>
|
||||
</element>
|
||||
</optional>
|
||||
<optional>
|
||||
<element name="write_bytes_sec_max">
|
||||
<data type="unsignedLong"/>
|
||||
</element>
|
||||
</optional>
|
||||
</interleave>
|
||||
</group>
|
||||
</choice>
|
||||
<choice>
|
||||
<element name="total_iops_sec_max">
|
||||
<data type="unsignedLong"/>
|
||||
</element>
|
||||
<group>
|
||||
<interleave>
|
||||
<optional>
|
||||
<element name="read_iops_sec_max">
|
||||
<data type="unsignedLong"/>
|
||||
</element>
|
||||
</optional>
|
||||
<optional>
|
||||
<element name="write_iops_sec_max">
|
||||
<data type="unsignedLong"/>
|
||||
</element>
|
||||
</optional>
|
||||
</interleave>
|
||||
</group>
|
||||
</choice>
|
||||
<optional>
|
||||
<element name="size_iops_sec">
|
||||
<data type="unsignedLong"/>
|
||||
</element>
|
||||
</optional>
|
||||
</interleave>
|
||||
</element>
|
||||
</define>
|
||||
|
||||
Reference in New Issue
Block a user