]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Add IOThread quota and period scheduler/cputune defs
authorJohn Ferlan <jferlan@redhat.com>
Mon, 25 Jul 2016 11:04:38 +0000 (07:04 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 3 Aug 2016 10:36:22 +0000 (06:36 -0400)
commit2197ea56d77ad3da2e838115eed71d2ad393a082
tree2eee00dcddb2658e7a3ad1db2a7daf9afdc3e849
parent24555136bf42e14f81c4fe1106e36052cb7b32cc
conf: Add IOThread quota and period scheduler/cputune defs

https://bugzilla.redhat.com/show_bug.cgi?id=1356937

Add the definitions to allow for viewing/setting cgroup period and quota
limits for IOThreads.

This is similar to the work done for emulator quota and period by
commit ids 'b65dafa' and 'e051c482'.

Being able to view/set the IOThread specific values is related to more
recent changes adding global period (commmit id '4d92d58f') and global
quota (commit id '55ecdae') definitions and qemu support (commit id
'4e17ff79' and 'fbcbd1b2'). With a global setting though, if somehow
the IOThread value in the cgroup hierarchy was set "outside of libvirt"
to a value that is incompatible with the global value.

Allowing control over IOThread specific values provides the capability
to alter the IOThread values as necessary.
docs/formatdomain.html.in
docs/schemas/domaincommon.rng
include/libvirt/libvirt-domain.h
src/conf/domain_conf.c
src/conf/domain_conf.h
tests/qemuxml2argvdata/qemuxml2argv-cputune.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-cputune.xml
tools/virsh.pod