qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/3] qmp: Return extra information on qom-list-types
@ 2017-05-26 20:23 Eduardo Habkost
  2017-05-26 20:23 ` [Qemu-devel] [PATCH v2 1/3] tests: Simplify abstract-interfaces check with a helper Eduardo Habkost
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Eduardo Habkost @ 2017-05-26 20:23 UTC (permalink / raw)
  To: qemu-devel; +Cc: Markus Armbruster, Eric Blake

This series adds 'abstract' and 'parent' fields to the output of
qom-list-types.

For reference, below are the sizes of the output of
"qom-list-types abstract=true" on qemu-system-x86_64, before and
after applying the patches:

* before: 11724 bytes
* with 'abstract' field: 13146 bytes
* with 'abstract' and 'parent': 24046 bytes

Changes v1 (RFC) -> v2:
* Make 'parent' field optional, to make output shorter
* Return only immediate parent type on 'parent' field, instead of
  all parent-types on a 'parent-types' field

Eduardo Habkost (3):
  tests: Simplify abstract-interfaces check with a helper
  qmp: Include 'abstract' field on 'qom-list-types' output
  qmp: Include parent type on 'qom-list-types' output

 qapi-schema.json               |   7 +-
 qmp.c                          |   6 ++
 tests/device-introspect-test.c | 156 +++++++++++++++++++++++++++++++++--------
 3 files changed, 139 insertions(+), 30 deletions(-)

-- 
2.11.0.259.g40922b1

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-05-26 21:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-26 20:23 [Qemu-devel] [PATCH v2 0/3] qmp: Return extra information on qom-list-types Eduardo Habkost
2017-05-26 20:23 ` [Qemu-devel] [PATCH v2 1/3] tests: Simplify abstract-interfaces check with a helper Eduardo Habkost
2017-05-26 20:35   ` Eric Blake
2017-05-26 20:23 ` [Qemu-devel] [PATCH v2 2/3] qmp: Include 'abstract' field on 'qom-list-types' output Eduardo Habkost
2017-05-26 20:51   ` Eric Blake
2017-05-26 21:09     ` Eduardo Habkost
2017-05-26 20:23 ` [Qemu-devel] [PATCH v2 3/3] qmp: Include parent type " Eduardo Habkost
2017-05-26 20:53   ` Eric Blake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).