Skip to content

qapi-visit: Unify struct and union visit

Markus Armbruster qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3qapi-visit: Simplify how we visit common union membersscripts/qapi-visit.py+4 -231 reply
2/3qapi-visit: Clean up code generated around visit_end_union()scripts/qapi-visit.py+2 -42 replies
3/3qapi-visit: Unify struct and union visitscripts/qapi-visit.py+33 -620 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] [PATCH 0/3] qapi-visit: Unify struct and union visit

I got stuck reviewing "[PATCH v9 31/37] qapi-visit: Unify struct and union visit". The result is probably fine, but the patch itself is impenetrable for me. Here's my version. I believe it's really simple to review (but as the author, I'm hopelessly biased).

I based on PATCH 26/37 instead of PATCH 30, because I found the empty struct stuff from PACTH 27-30 not useful for this unification job. If we want it for other reasons (I have no opinion, yet), rebasing it onto this series shouldn't be hard.

Markus Armbruster (3):
qapi-visit: Simplify how we visit common union members
qapi-visit: Clean up code generated around visit_end_union()
qapi-visit: Unify struct and union visit

 scripts/qapi-visit.py | 122 +++++++++++++++-----------------------------------
 1 file changed, 36 insertions(+), 86 deletions(-)
Signature · 1 line
2.4.3