[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 00/15] qapi: Spring cleaning
From: |
Markus Armbruster |
Subject: |
[PATCH v2 00/15] qapi: Spring cleaning |
Date: |
Fri, 24 Apr 2020 10:43:23 +0200 |
v2:
* PATCH 10: Redone to avoid memory leak [Eric]
* PATCH 14+15: New
Since PATCH 14 depends on "[PATCH 2/3] fuzz: Simplify how we compute
available machines and types":
Based-on: <address@hidden>
Markus Armbruster (15):
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/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 +--
qom/object.c | 4 +-
tests/test-qobject-output-visitor.c | 39 ------
tests/test-string-output-visitor.c | 19 ---
scripts/qapi/commands.py | 62 ++++-----
scripts/qapi/visit.py | 8 ++
16 files changed, 174 insertions(+), 234 deletions(-)
--
2.21.1
- [PATCH v2 00/15] qapi: Spring cleaning,
Markus Armbruster <=
- [PATCH v2 03/15] qapi: Fix typo in visit_start_list()'s contract, Markus Armbruster, 2020/04/24
- [PATCH v2 01/15] qapi: Belatedly update visitor.h's big comment for QAPI modules, Markus Armbruster, 2020/04/24
- [PATCH v2 04/15] qapi: Document @errp usage more thoroughly in visitor.h, Markus Armbruster, 2020/04/24
- [PATCH v2 02/15] qapi: Fix the virtual walk example in visitor.h's big comment, Markus Armbruster, 2020/04/24
- [PATCH v2 11/15] qapi: Assert non-input visitors see only valid alternate tags, Markus Armbruster, 2020/04/24
- [PATCH v2 13/15] qom: Simplify object_property_get_enum(), Markus Armbruster, 2020/04/24
- [PATCH v2 06/15] qapi: Assert incomplete object occurs only in dealloc visitor, Markus Armbruster, 2020/04/24
- [PATCH v2 09/15] qapi: Assert non-input visitors see only valid narrow integers, Markus Armbruster, 2020/04/24