qga: Utilize QAPI_LIST_APPEND in qmp_guest_network_get_interfaces
commit96291f13434e3f179744fec549ada90a9411fef0
authorEric Blake <eblake@redhat.com>
Fri, 5 Feb 2021 17:16:34 +0000 (5 11:16 -0600)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 5 Mar 2021 14:40:49 +0000 (5 15:40 +0100)
tree8d4c5a36d669dc292e16b11911da702b1a96d0c4
parentd71a243220db1e6bc04425b5988b8a9bc8523345
qga: Utilize QAPI_LIST_APPEND in qmp_guest_network_get_interfaces

I found another spot that can benefit from using our macros instead of
open-coding qapi list creation.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <20210205171634.1491258-1-eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
qga/commands-posix.c