]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Use virXMLFormatElement to format disk IO tuning
authorPeter Krempa <pkrempa@redhat.com>
Mon, 11 Jun 2018 13:32:05 +0000 (15:32 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 12 Jun 2018 08:06:30 +0000 (10:06 +0200)
commit0027ea3b0d97eddc4ead1c833d13dafb6f68f4a3
tree7237410e7974467ffe1b3d64fec8cc1b0d4b9c35
parentbfaa61c83c3b204fe311d5f719d3afe9202990ba
conf: Use virXMLFormatElement to format disk IO tuning

Extract and refactor the code to use the new approach which allows to
delete a monster condition to check if the element needs to be
formatted.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/domain_conf.c