On Thu, Oct 06, 2016 at 06:38:57PM -0400, John Ferlan wrote:
Modify _virDomainBlockIoTuneInfo and rng schema to support the
_length
options for bps/iops throttling values. Document the new values.
Signed-off-by: John Ferlan <jferlan(a)redhat.com>
---
docs/formatdomain.html.in | 40 ++++++++++++-
docs/schemas/domaincommon.rng | 38 +++++++++++++
src/conf/domain_conf.c | 24 +++++++-
.../qemuxml2argv-blkdeviotune-max-length.xml | 65 ++++++++++++++++++++++
.../qemuxml2xmlout-blkdeviotune-max-length.xml | 1 +
tests/qemuxml2xmltest.c | 1 +
6 files changed, 166 insertions(+), 3 deletions(-)
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-blkdeviotune-max-length.xml
create mode 120000 tests/qemuxml2xmloutdata/qemuxml2xmlout-blkdeviotune-max-length.xml
diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index 1266e9d..274b9bb 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -2617,7 +2617,45 @@
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>
+ size of I/O operations per second.
+ <p>
+ <span class="since">Throughput limits since 1.2.11 and QEMU
1.7</span>
+ </p>
+ </dd>
+ <dt><code>total_bytes_sec_max_length</code></dt>
+ <dd>The optional <code>total_bytes_sec_max_length</code>
+ element is the maximum duration in seconds for the
+ <code>total_bytes_sec_max</code> burst period. Only valid
+ when the <code>total_bytes_sec_max</code> is set.</dd>
+ <dt><code>read_bytes_sec_max_length</code></dt>
+ <dd>The optional <code>read_bytes_sec_max_length</code>
+ element is the maximum duration in seconds for the
+ <code>read_bytes_sec_max</code> burst period. Only valid
+ when the <code>read_bytes_sec_max</code> is set.</dd>
+ <dt><code>write_bytes_sec_max</code></dt>
+ <dd>The optional <code>write_bytes_sec_max_length</code>
+ element is the maximum duration in seconds for the
+ <code>write_bytes_sec_max</code> burst period. Only valid
+ when the if <code>write_bytes_sec_max</code> is set.</dd>
s/if //
ACK
Erik