[Qemu-devel] [PATCH 00/14] Generate a literal qobject for introspection

Marc-André Lureau posted 14 patches 6 years, 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20170824103350.16400-1-marcandre.lureau@redhat.com
Test FreeBSD passed
Test checkpatch passed
Test docker passed
Test s390x passed
There is a newer version of this series
scripts/qapi-introspect.py         |  87 +++++++++++---------
include/qapi/qmp/qdict.h           |   4 +-
include/qapi/qmp/qlit.h            |  56 +++++++++++++
monitor.c                          |   2 +-
qobject/qlit.c                     | 157 +++++++++++++++++++++++++++++++++++++
target/i386/cpu.c                  |   4 +-
tests/check-qjson.c                | 150 +++++++----------------------------
tests/check-qlit.c                 | 100 +++++++++++++++++++++++
tests/test-qobject-input-visitor.c |  11 ++-
docs/devel/qapi-code-gen.txt       |  29 ++++---
qobject/Makefile.objs              |   2 +-
tests/Makefile.include             |   5 +-
12 files changed, 429 insertions(+), 178 deletions(-)
create mode 100644 include/qapi/qmp/qlit.h
create mode 100644 qobject/qlit.c
create mode 100644 tests/check-qlit.c
[Qemu-devel] [PATCH 00/14] Generate a literal qobject for introspection
Posted by Marc-André Lureau 6 years, 7 months ago
Hi,

This series is based on patches 2-5 from "[PATCH v2 00/54] qapi: add #if
pre-processor conditions to generated code". Generating a literal qobject
will allow to easily introduce #if conditionals from the original series.

Marc-André Lureau (14):
  qdict: add qdict_put_null() helper
  qlit: move qlit from check-qjson to qobject/
  qlit: use QLit prefix consistently
  qlit: remove needless type cast
  qlit: rename compare_litqobj_to_qobj
  qlit: make qlit_equal_qobject return a bool
  qlit: make qlit_equal_qobject() take const arguments
  qlit: add QLIT_QNULL and QLIT_BOOL
  qlit: replace assert(qnum_get_try_int)
  tests: add qlit tests
  qlit: improve QLit dict vs qdict comparison
  qlit: improve QLit list vs qlist comparison
  qlit: add qobject_form_qlit()
  qapi: generate a literal qobject for introspection

 scripts/qapi-introspect.py         |  87 +++++++++++---------
 include/qapi/qmp/qdict.h           |   4 +-
 include/qapi/qmp/qlit.h            |  56 +++++++++++++
 monitor.c                          |   2 +-
 qobject/qlit.c                     | 157 +++++++++++++++++++++++++++++++++++++
 target/i386/cpu.c                  |   4 +-
 tests/check-qjson.c                | 150 +++++++----------------------------
 tests/check-qlit.c                 | 100 +++++++++++++++++++++++
 tests/test-qobject-input-visitor.c |  11 ++-
 docs/devel/qapi-code-gen.txt       |  29 ++++---
 qobject/Makefile.objs              |   2 +-
 tests/Makefile.include             |   5 +-
 12 files changed, 429 insertions(+), 178 deletions(-)
 create mode 100644 include/qapi/qmp/qlit.h
 create mode 100644 qobject/qlit.c
 create mode 100644 tests/check-qlit.c

-- 
2.14.1.146.gd35faa819