From 32d99cb772df5e1a1d58c862a9fb83ccc2980316 Mon Sep 17 00:00:00 2001
From: John Ferlan
Date: Sat, 1 Oct 2016 09:01:06 -0400
Subject: [PATCH] conf: Add support for blkiotune group_name option
Modify _virDomainBlockIoTuneInfo and rng schema to support the group_name
option for iotune throttling. Document the new value.
Signed-off-by: John Ferlan
---
docs/formatdomain.html.in | 11 ++++
docs/schemas/domaincommon.rng | 5 ++
src/conf/domain_conf.c | 9 +++
.../qemuxml2argv-blkdeviotune-group-num.xml | 61 +++++++++++++++++++
.../qemuxml2xmlout-blkdeviotune-group-num.xml | 1 +
tests/qemuxml2xmltest.c | 1 +
6 files changed, 88 insertions(+)
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-blkdeviotune-group-num.xml
create mode 120000 tests/qemuxml2xmloutdata/qemuxml2xmlout-blkdeviotune-group-num.xml
diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index 6bd02ccdd5..2bcc6d714b 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -2622,6 +2622,17 @@
Throughput limits since 1.2.11 and QEMU 1.7
+
group_name
+
The optional group_name provides the cability
+ to share I/O throttling quota between multiple drives. This
+ prevents end-users from circumventing a hosting provider's
+ throttling policy by splitting 1 large drive in N small drives
+ and getting N times the normal throttling quota. Any name may
+ be used.
+