]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Extract guest XML formatting from virCapabilitiesFormatXML
authorJohn Ferlan <jferlan@redhat.com>
Wed, 9 Jan 2019 17:00:28 +0000 (12:00 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 29 Jan 2019 18:24:41 +0000 (13:24 -0500)
commit181acfe9a88b84f82b812937a37b81625d12dcdc
treebaef453f25e9138de27a4edfa44d938f326abb89
parent0d832b873cf629558d83980584df379653376548
conf: Extract guest XML formatting from virCapabilitiesFormatXML

Let's extract out the <guest> code into it's own method/helper.

NB: One minor change between the two is usage of "buf" instead
of "&buf" in the new code since we pass the address of &buf to
the helper.

Signed-off-by: John Ferlan <jferlan@redhat.com>
ACKed-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/capabilities.c