[PULL 00/20] QAPI patches for 2020-04-30

Markus Armbruster posted 20 patches 5 years, 6 months ago
Test docker-mingw@fedora passed
Test checkpatch passed
Test asan passed
Test docker-quick@centos7 passed
Test FreeBSD passed
Failed in applying to current master (apply log)
docs/devel/qapi-code-gen.txt        |   4 +-
include/qapi/qmp/qdict.h            |   3 -
include/qapi/qmp/qlist.h            |  10 +-
include/qapi/visitor-impl.h         |   9 +-
include/qapi/visitor.h              | 192 +++++++++++++++++++++---------------
block.c                             |   9 +-
block/sheepdog.c                    |   9 +-
blockdev.c                          |  16 +--
hw/core/machine-hmp-cmds.c          |   2 +-
monitor/hmp-cmds.c                  |   3 +-
monitor/qmp.c                       |   5 +-
qapi/qapi-dealloc-visitor.c         |   7 --
qapi/qapi-visit-core.c              |  20 ++--
qapi/qobject-input-visitor.c        |  21 ++--
qobject/qdict.c                     |  19 ----
qobject/qjson.c                     | 107 +++++++-------------
qobject/qlist.c                     |  44 +++------
qom/object.c                        |   4 +-
tests/check-qlist.c                 |  37 +++----
tests/test-qobject-output-visitor.c |  39 --------
tests/test-string-output-visitor.c  |  19 ----
util/qemu-option.c                  |  43 ++++----
scripts/qapi/commands.py            |  62 +++++-------
scripts/qapi/visit.py               |   8 ++
24 files changed, 272 insertions(+), 420 deletions(-)
[PULL 00/20] QAPI patches for 2020-04-30
Posted by Markus Armbruster 5 years, 6 months ago
The following changes since commit 648db19685b7030aa558a4ddbd3a8e53d8c9a062:

  Merge remote-tracking branch 'remotes/armbru/tags/pull-misc-2020-04-29' into staging (2020-04-29 15:07:33 +0100)

are available in the Git repository at:

  git://repo.or.cz/qemu/armbru.git tags/pull-qapi-2020-04-30

for you to fetch changes up to 89bf68f933393a1bc0de4d07b59ffa8920da130f:

  qapi: Generate simpler marshalling code when no arguments (2020-04-30 07:26:41 +0200)

----------------------------------------------------------------
QAPI patches for 2020-04-30

----------------------------------------------------------------
Markus Armbruster (20):
      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
      qapi: Belatedly update visitor.h's big comment for QAPI modules
      qapi: Fix the virtual walk example in visitor.h's big comment
      qapi: Fix typo in visit_start_list()'s contract
      qapi: Document @errp usage more thoroughly in visitor.h
      qapi: Polish prose in visitor.h
      qapi: Assert incomplete object occurs only in dealloc visitor
      qapi: Fix Visitor contract for start_alternate()
      qapi: Assert output visitors see only valid enum values
      qapi: Assert non-input visitors see only valid narrow integers
      qapi: Clean up visitor's recovery from input with invalid type
      qapi: Assert non-input visitors see only valid alternate tags
      qapi: Only input visitors can actually fail
      qom: Simplify object_property_get_enum()
      qapi: Disallow qmp_marshal_FOO(NULL, ...)
      qapi: Generate simpler marshalling code when no arguments

 docs/devel/qapi-code-gen.txt        |   4 +-
 include/qapi/qmp/qdict.h            |   3 -
 include/qapi/qmp/qlist.h            |  10 +-
 include/qapi/visitor-impl.h         |   9 +-
 include/qapi/visitor.h              | 192 +++++++++++++++++++++---------------
 block.c                             |   9 +-
 block/sheepdog.c                    |   9 +-
 blockdev.c                          |  16 +--
 hw/core/machine-hmp-cmds.c          |   2 +-
 monitor/hmp-cmds.c                  |   3 +-
 monitor/qmp.c                       |   5 +-
 qapi/qapi-dealloc-visitor.c         |   7 --
 qapi/qapi-visit-core.c              |  20 ++--
 qapi/qobject-input-visitor.c        |  21 ++--
 qobject/qdict.c                     |  19 ----
 qobject/qjson.c                     | 107 +++++++-------------
 qobject/qlist.c                     |  44 +++------
 qom/object.c                        |   4 +-
 tests/check-qlist.c                 |  37 +++----
 tests/test-qobject-output-visitor.c |  39 --------
 tests/test-string-output-visitor.c  |  19 ----
 util/qemu-option.c                  |  43 ++++----
 scripts/qapi/commands.py            |  62 +++++-------
 scripts/qapi/visit.py               |   8 ++
 24 files changed, 272 insertions(+), 420 deletions(-)

-- 
2.21.1


Re: [PULL 00/20] QAPI patches for 2020-04-30
Posted by Peter Maydell 5 years, 6 months ago
On Thu, 30 Apr 2020 at 06:32, Markus Armbruster <armbru@redhat.com> wrote:
>
> The following changes since commit 648db19685b7030aa558a4ddbd3a8e53d8c9a062:
>
>   Merge remote-tracking branch 'remotes/armbru/tags/pull-misc-2020-04-29' into staging (2020-04-29 15:07:33 +0100)
>
> are available in the Git repository at:
>
>   git://repo.or.cz/qemu/armbru.git tags/pull-qapi-2020-04-30
>
> for you to fetch changes up to 89bf68f933393a1bc0de4d07b59ffa8920da130f:
>
>   qapi: Generate simpler marshalling code when no arguments (2020-04-30 07:26:41 +0200)
>
> ----------------------------------------------------------------
> QAPI patches for 2020-04-30
>


Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/5.0
for any user-visible changes.

-- PMM