]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Extract host XML formatting from virCapabilitiesFormatXML
authorJohn Ferlan <jferlan@redhat.com>
Wed, 9 Jan 2019 16:51:17 +0000 (11:51 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 29 Jan 2019 18:24:14 +0000 (13:24 -0500)
commitda87aa5963f435b8754cb4ee9dd8a46a69e99679
treed5e494e94e5208bdb604d1935551b9d8f3245a7f
parent9047b9aec0d2f224edd072cd81ca0a20a4a77796
conf: Extract host XML formatting from virCapabilitiesFormatXML

Let's extract out the <host> 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