]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Alter virCapabilitiesFormatGuestXML to take virCapsGuestPtr
authorJohn Ferlan <jferlan@redhat.com>
Wed, 9 Jan 2019 18:31:50 +0000 (13:31 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 29 Jan 2019 18:24:46 +0000 (13:24 -0500)
commitd0ba8d65530d120ec98c09480b0a10cd5868dcda
tree25f4018d64946a2778c230a5baad73006c2d5fb9
parent181acfe9a88b84f82b812937a37b81625d12dcdc
conf: Alter virCapabilitiesFormatGuestXML to take virCapsGuestPtr

Rather than deref off of "caps->guests", let's pass "caps->guests" and
caps->nguests to have the helper use "guests[i]->" instead.

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