[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/2] qapi: allow empty branches in flat unions
From: |
Anton Nefedov |
Subject: |
[Qemu-devel] [PATCH v2 0/2] qapi: allow empty branches in flat unions |
Date: |
Tue, 29 May 2018 19:41:30 +0300 |
since v1:
- reworked to always allow empty branches
- more types removed in patch 2
v1: http://lists.nongnu.org/archive/html/qemu-devel/2018-05/msg02525.html
Anton Nefedov (2):
qapi: allow empty branches in flat unions
qapi: remove empty flat union branches and types
docs/devel/qapi-code-gen.txt | 7 +--
qapi/block-core.json | 55 ++--------------------
qapi/crypto.json | 13 +----
qapi/misc.json | 46 +-----------------
qapi/net.json | 12 -----
qapi/ui.json | 19 +-------
block/qcow2.c | 1 -
cpus.c | 2 -
scripts/qapi/common.py | 11 ++---
scripts/qapi/types.py | 4 +-
scripts/qapi/visit.py | 17 +++++--
tests/qapi-schema/flat-union-incomplete-branch.err | 1 -
.../qapi-schema/flat-union-incomplete-branch.exit | 2 +-
tests/qapi-schema/flat-union-incomplete-branch.out | 14 ++++++
14 files changed, 47 insertions(+), 157 deletions(-)
--
2.7.4
- [Qemu-devel] [PATCH v2 0/2] qapi: allow empty branches in flat unions,
Anton Nefedov <=