]> xenbits.xensource.com Git - libvirt.git/commitdiff
include: Add new "group_name" definition for iotune throttling
authorJohn Ferlan <jferlan@redhat.com>
Mon, 31 Oct 2016 21:22:57 +0000 (17:22 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 5 Dec 2016 23:12:08 +0000 (18:12 -0500)
Add the new field to support sharing I/O throttling quota between
multiple drives.

Signed-off-by: John Ferlan <jferlan@redhat.com>
include/libvirt/libvirt-domain.h

index a8435ab16c4e206fca8339ee8dc7dba1d7b99b06..168c82d58f8279181d16ecd8f8ead6231ef01119 100644 (file)
@@ -2488,6 +2488,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,