On Thu, Nov 26, 2026 at 11:01:39 +0100, Markus Armbruster via Devel wrote:
Use members @kind, @qapi-type, and @qom-type instead.
Signed-off-by: Markus Armbruster <armbru@redhat.com> --- docs/about/deprecated.rst | 5 +++++ qapi/qom.json | 14 ++++++++------ 2 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/docs/about/deprecated.rst b/docs/about/deprecated.rst index 5ab329705b6..bcae9c0afbc 100644 --- a/docs/about/deprecated.rst +++ b/docs/about/deprecated.rst @@ -190,6 +190,11 @@ so the concept of an 'unavailable' trace event no longer exists. The ``ignore-unavailable`` parameter in ``trace-event-set-state`` thus has no effect and should no longer be used.
+``qom-list``, ``qom-list-property``, ``qom-list-get`` return value member @type (since 12.0) +''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' + +Use members @kind, @qapi-type, and @qom-type instead.
libvirt proper doesn't currently look at the 'type' property at all. We're only interested in the name of the property and internally assume the type. (Said that I'll be looking into using 'qapi-type' as source of data for validating properties of -device we generate when I'll have time to look at it. I had already some code where I tried to synthetize the data but this oguth to be much simpler and already present in our queries) The only code in the libvirt repo which looks at @type is the scripts/qemu-replies-tool script when the --dump-all mode is used, which I use to generate diffs of capabilities of qemu, but that is used only manually so I'll address that after this will be comitted. On behalf of libvirt: ACKed-by: Peter Krempa <pipo@pipo.sk>