Skip to content

qobject: Minor spring cleaning

Markus Armbruster qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5qobject: Clean up QLIST_FOREACH_ENTRY()include/qapi/qmp/qlist.h+4 -41 reply
2/5qobject: Factor out helper json_pretty_newline()qobject/qjson.c+16 -242 replies
3/5qobject: Eliminate qlist_iter(), use QLIST_FOREACH_ENTRY() insteadinclude/qapi/qmp/qlist.h qobject/qjson.c qobject/qlist.c +1 more+37 -771 reply
4/5qobject: Eliminate qdict_iter(), use qdict_first(), qdict_next()include/qapi/qmp/qdict.h qapi/qobject-input-visitor.c qobject/qdict.c +2 more+40 -672 replies
5/5qemu-option: Clean up after the previous commitutil/qemu-option.c+15 -281 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchEric Blake
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH for-5.1 0/5] qobject: Minor spring cleaning

Markus Armbruster (5):
qobject: Clean up QLIST_FOREACH_ENTRY()
qobject: Factor out helper json_pretty_newline()
qobject: Eliminate qlist_iter(), use QLIST_FOREACH_ENTRY() instead
qobject: Eliminate qdict_iter(), use qdict_first(), qdict_next()
qemu-option: Clean up after the previous commit

 include/qapi/qmp/qdict.h     |   3 -
 include/qapi/qmp/qlist.h     |  10 ++--
 qapi/qobject-input-visitor.c |  21 +++----
 qobject/qdict.c              |  19 -------
 qobject/qjson.c              | 107 +++++++++++++----------------------
 qobject/qlist.c              |  44 ++++----------
 tests/check-qlist.c          |  37 +++++-------
 util/qemu-option.c           |  43 +++++++-------
 8 files changed, 98 insertions(+), 186 deletions(-)
Signature · 1 line
2.21.1