]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: capabilities: Introduce QEMU_CAPS_OBJECT_QAPIFIED
authorPeter Krempa <pkrempa@redhat.com>
Fri, 27 Nov 2020 06:06:13 +0000 (07:06 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 23 Mar 2021 13:06:31 +0000 (14:06 +0100)
commit3d50ecc9bb2be88a56f00cd60335215b0d1132c2
treee68a7784269c200883e8ac5f097217608bb759b9
parentced521d0503a2ae0e04dae0ccd33203f6feff14e
qemu: capabilities: Introduce QEMU_CAPS_OBJECT_QAPIFIED

Starting from qemu-6.0 the parameters of -object/object-add are formally
described by the QAPI schema. Additionally this changes the nesting of
the properties as the 'props' nested object will be flattened to the
parent.

We'll need to detect whether qemu switched to this new approach to
generate the objects with proper nesting and also allow testing.

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