]> xenbits.xensource.com Git - libvirt.git/commit
qemu: agent: Use virJSONValueObjectGetArray
authorPeter Krempa <pkrempa@redhat.com>
Thu, 2 Feb 2023 15:43:30 +0000 (16:43 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 6 Feb 2023 12:34:06 +0000 (13:34 +0100)
commit66f0dd63b403f963679452e3ed6173733b08ef87
treedc5aeba6e39028b80af91984f37ea32253766c6d
parent1d05a04821ff93b21dfa777a22701ecda3015201
qemu: agent: Use virJSONValueObjectGetArray

Replace virJSONValueObjectGet + virJSONValueIsArray by the single API
which returns only an array.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_agent.c