Skip to content

parse 'null' literal in QMP

Eric Blake qemu-devel 1 version Applied

Status from this message: Applied to the qmp branch, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 4 repliesApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3qobject: Clean up around qtype_codeblock/qapi.c include/hw/qdev-core.h include/qapi/qmp/qobject.h +1 more+3 -70 replies
2/3qobject: Add a special null QObjectinclude/qapi/qmp/qobject.h qobject/Makefile.objs qobject/qjson.c +1 more+43 -21 reply
3/3json-parser: Accept 'null' in QMPqobject/json-parser.c tests/check-qjson.c+15 -20 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

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

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

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/3] parse 'null' literal in QMP

Here's my attempt to merge the best points of Markus' approach [1] (patches 16-18 of that series - benefit of smaller patches and fewer malloc calls) and my approach [2] (benefit of a testsuite addition and more detailed commit messages), while fixing the typos that both of us had in v1.

[1]https://lists.gnu.org/archive/html/qemu-devel/2015-04/msg00342.html [2]https://lists.gnu.org/archive/html/qemu-devel/2015-04/msg00623.html

Eric Blake (1):
json-parser: Accept 'null' in QMP

Markus Armbruster (2):
qobject: Clean up around qtype_code
qobject: Add a special null QObject

 block/qapi.c               |  3 ---
 include/hw/qdev-core.h     |  2 +-
 include/qapi/qmp/qobject.h | 13 +++++++++++--
 qobject/Makefile.objs      |  2 +-
 qobject/json-parser.c      |  2 ++
 qobject/qjson.c            |  6 ++++--
 qobject/qnull.c            | 29 +++++++++++++++++++++++++++++
 tests/check-qjson.c        | 15 +++++++++++++--
 8 files changed, 61 insertions(+), 11 deletions(-)
 create mode 100644 qobject/qnull.c
Signature · 1 line
2.1.0