qmp: Return extra information on qom-list-types
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 1 replyIn review
- v23 patches 4 repliesSuperseded
- v1 RFC3 patches 5 repliesSuperseded
Changes in v3 from the cover letter
* Rebase to latest qemu.git master, only
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | tests: Simplify abstract-interfaces check with a helpertests/ | +25 | 0 replies | |
| 2/3 | qmp: Include 'abstract' field on 'qom-list-types' outputqapi-schema.json qmp.c tests/ | +45 | 0 replies | |
| 3/3 | qmp: Include parent type on 'qom-list-types' outputqapi-schema.json qmp.c tests/ | +82 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Eric Blake |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v3 0/3] qmp: Return extra information on qom-list-types
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
This is just a rebase of v2. I'm sending it as v3 because a long time has passed since v2 was submitted.
Changes v2 -> v3:
* Rebase to latest qemu.git master, only
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(-)
Signature · 1 line
2.9.4