Add the new field to support sharing I/O throttling quota between
multiple drives.
Signed-off-by: John Ferlan <jferlan(a)redhat.com>
---
include/libvirt/libvirt-domain.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/include/libvirt/libvirt-domain.h b/include/libvirt/libvirt-domain.h
index 5f50660..8c9876c 100644
--- a/include/libvirt/libvirt-domain.h
+++ b/include/libvirt/libvirt-domain.h
@@ -2377,6 +2377,13 @@ int virDomainBlockCommit(virDomainPtr dom, const char *disk, const
char *base,
*/
# define VIR_DOMAIN_BLOCK_IOTUNE_SIZE_IOPS_SEC "size_iops_sec"
+/**
+ * VIR_DOMAIN_BLOCK_IOTUNE_GROUP_NAME:
+ * Macro for the BlockIoTune tunable weight: it represents a group name to
+ * allow sharing of I/O throttling quota between multiple drives, as a string.
+ */
+# define VIR_DOMAIN_BLOCK_IOTUNE_GROUP_NAME "group_name"
+
int
virDomainSetBlockIoTune(virDomainPtr dom,
const char *disk,
--
2.7.4