Skip to content

RFC qapi: unbox base classes

Eric Blake qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2vnc: hoist allocation of VncBasicInfo to callersui/vnc.c+28 -240 replies
2/2qapi: unbox base membershmp.c scripts/qapi-types.py scripts/qapi-visit.py +7 more+60 -640 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [RFC PATCH 0/2] qapi: unbox base classes

Depends on Markus' "[PATCH RFC v2 00/47] qapi: QMP introspection", in particular, based on an idea in 7/47 of that series.

Note that if we do this, we must fix patch 27/47 of that series to never omit members of a struct when visiting that struct's fields (that is, the base class of a flat union must be parsed in the same as if that class is also the base of another class).

Eric Blake (2):
vnc: hoist allocation of VncBasicInfo to callers
qapi: unbox base members

 hmp.c                              |  6 ++--
 scripts/qapi-types.py              | 13 ++++++--
 scripts/qapi-visit.py              |  9 ++++--
 tests/test-qmp-commands.c          | 15 +++------
 tests/test-qmp-event.c             |  8 ++---
 tests/test-qmp-input-visitor.c     |  4 +--
 tests/test-qmp-output-visitor.c    | 12 +++----
 tests/test-visitor-serialization.c | 14 ++++-----
 ui/spice-core.c                    | 23 ++++++++------
 ui/vnc.c                           | 64 ++++++++++++++++++++------------------
 10 files changed, 84 insertions(+), 84 deletions(-)
Signature · 1 line
2.4.3