]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Use a separate buffer for <disk><driver>
authorJán Tomko <jtomko@redhat.com>
Mon, 22 Aug 2016 13:31:35 +0000 (15:31 +0200)
committerJán Tomko <jtomko@redhat.com>
Wed, 26 Apr 2017 14:29:38 +0000 (16:29 +0200)
commitd89803d27c3088aff6f4d062a578fc9938a80e04
treeba0c87741ef845f780b8a11cb108c45f8fc5b7a7
parent51219e11b8c57c7a9755eedd72986269b78ccfb7
Use a separate buffer for <disk><driver>

Eliminate the big condition at the start.
Instead use a buffer and only format the element if the buffer
is non-empty.
src/conf/domain_conf.c