]> git.proxmox.com Git - mirror_qemu.git/commit - qapi-schema.json
qmp: Include parent type on 'qom-list-types' output
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 7 Jul 2017 12:22:15 +0000 (09:22 -0300)
committerEduardo Habkost <ehabkost@redhat.com>
Mon, 17 Jul 2017 18:41:30 +0000 (15:41 -0300)
commitf86285c571c49e781d3fa46f3bef3835b8e6f393
treea8a2327055d07499b3629548795f1c08da3d5558
parent87467eae37e9b4727152292e09acead3ba3c95ed
qmp: Include parent type on 'qom-list-types' output

Include name of parent type of each type on 'qom-list-types' output.

Without this, there's no way to figure out the parents of a given type
without making additional 'qom-list-types' queries.

In addition to the test case for the new feature, update the
abstract-interface test case to use the new field and avoid the
"qom-list-types implements=object" trick.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20170707122215.8819-4-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
qapi-schema.json
qmp.c
tests/device-introspect-test.c