]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuMonitorAddNetdev: Convert to the native JSON props object
authorPeter Krempa <pkrempa@redhat.com>
Fri, 15 May 2020 09:36:28 +0000 (11:36 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 20 May 2020 07:41:58 +0000 (09:41 +0200)
commit529ad62c0d300dbc4e092d432e7e28c0f22ff45d
tree9f54fcf6b6dc03fbf9c4aca017d542f02a0913f1
parent11758f92454dad0c83d982ec17e39d9c67c6d0fe
qemuMonitorAddNetdev: Convert to the native JSON props object

Now that all code paths generate JSON props we can remove the conversion
to command line arguments and back in the monitor code.

Note that the test which is removed in this commit will be replaced by a
stronger testsuite later.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
src/qemu/qemu_hotplug.c
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c
src/qemu/qemu_monitor_json.h
tests/qemumonitorjsontest.c