]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: split out virtio net driver formatting
authorJán Tomko <jtomko@redhat.com>
Wed, 10 Sep 2014 17:12:54 +0000 (19:12 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 16 Sep 2014 12:32:30 +0000 (14:32 +0200)
commitfb78d1cee7ff6bafff80a58be3ff7710488d55ad
tree7cb6058164097d976ac8dc9e39cace2c81df4684
parent76a81b1d312f10ec4d66b05d39f4d75869f0f121
conf: split out virtio net driver formatting

Instead of checking upfront if the <driver> element will be needed
in a big condition, just format all the attributes into a string
and output the <driver> element if the string is not empty.
src/conf/domain_conf.c