]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Make scheduler formatting simpler
authorMartin Kletzander <mkletzan@redhat.com>
Tue, 22 Nov 2016 13:45:43 +0000 (14:45 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Thu, 8 Dec 2016 14:27:52 +0000 (15:27 +0100)
commitdc18766b10fedd02bacd77b4be9fc7dc36769f7a
tree13bd4c31bbeb36531d0d1a068b39664cfdb7f002
parentb64af8f81d6c30f41e1c4a79f635b1796c99d771
conf: Make scheduler formatting simpler

Since the great rework of how we store vcpu- and iothread-related
data, we have overly complex part of code that is trying to format the
scheduler tuning data in as less lines as possible by grouping
settings for multiple threads.  That was designed as an input syntax
sugar for users, but we don't need to also use that when formatting
the XML.  Switching to simple enumeration makes the code nicer,
shorter and more welcoming to future changes.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/conf/domain_conf.c
tests/qemuxml2xmloutdata/qemuxml2xmlout-cputune-iothreadsched-zeropriority.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-cputune-iothreadsched.xml