summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEduardo Habkost2017-07-07 14:22:14 +0200
committerEduardo Habkost2017-07-17 20:41:30 +0200
commit87467eae37e9b4727152292e09acead3ba3c95ed (patch)
tree07e098551d0f372761ae90704757b71ce085f449 /include
parenttests: Simplify abstract-interfaces check with a helper (diff)
downloadqemu-87467eae37e9b4727152292e09acead3ba3c95ed.tar.gz
qemu-87467eae37e9b4727152292e09acead3ba3c95ed.tar.xz
qemu-87467eae37e9b4727152292e09acead3ba3c95ed.zip
qmp: Include 'abstract' field on 'qom-list-types' output
A client may be interested in getting the list of both abstract and non-abstract types. Instead of requiring them to make multiple queries with different filter arguments, just return an 'abstract' field in 'qom-list-types'. In addition to the new test code for validating this field, update the abstract-interfaces test case to query for all 'interface' subtypes (including abstract ones), and to look at the 'abstract' field directly. Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Message-Id: <20170707122215.8819-3-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions