[PATCH v2 04/12] qemu: capabilities: Introduce QEMU_CAPS_OBJECT_QAPIFIED

Ján Tomko jtomko at redhat.com
Wed Mar 10 19:20:56 UTC 2021


On a Wednesday in 2021, Peter Krempa wrote:
>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.
>
>The capability is based on the presence of the 'secret' object in the
>'qom-type' enum.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_capabilities.c | 4 ++++
> src/qemu/qemu_capabilities.h | 3 +++
> 2 files changed, 7 insertions(+)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20210310/fc2782a3/attachment-0001.sig>


More information about the libvir-list mailing list