From: John Ferlan Date: Mon, 31 Oct 2016 21:22:57 +0000 (-0400) Subject: include: Add new "group_name" definition for iotune throttling X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=9001662b9fb97129e07e9c8447df0a786d79eb02;p=libvirt.git include: Add new "group_name" definition for iotune throttling Add the new field to support sharing I/O throttling quota between multiple drives. Signed-off-by: John Ferlan --- diff --git a/include/libvirt/libvirt-domain.h b/include/libvirt/libvirt-domain.h index a8435ab16c..168c82d58f 100644 --- a/include/libvirt/libvirt-domain.h +++ b/include/libvirt/libvirt-domain.h @@ -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,