]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuMonitorGetDeviceProps: Return data in a hash table
authorPeter Krempa <pkrempa@redhat.com>
Wed, 6 May 2020 17:53:43 +0000 (19:53 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 12 May 2020 04:55:00 +0000 (06:55 +0200)
commit6de5cac7f07ddd4b8922e886a1b588f79eca58bb
tree37759be6f50e3a1b356c87533ea949744ca7e693
parent0b52b023fc8a0c2e6cda1a094c1ed723369bfb27
qemuMonitorGetDeviceProps: Return data in a hash table

Create a hash table of device property names which also stores the
corresponding JSON object so that the detection code can look at the
recently added 'default-value' field and possibly others.

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