]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: monitor_json: Replace virJSONValueObjectCreate by virJSONValueObjectAdd
authorPeter Krempa <pkrempa@redhat.com>
Mon, 8 Nov 2021 16:24:50 +0000 (17:24 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 17 Nov 2021 11:04:11 +0000 (12:04 +0100)
commitd7ea3fe7f46b78d24c6f2945bc54ec3bca75c17f
treebd2f00c409eb0d76f12112da57191ee4e6b0157a
parent8de1edd5c79e09a53e110954952d6bc32128ee2c
qemu: monitor_json: Replace virJSONValueObjectCreate by virJSONValueObjectAdd

virJSONValueObjectAdd now works identically to virJSONValueObjectCreate
when used with a NULL argument. Replace all callers.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_monitor_json.c