[Qemu-devel] [PATCH v4 0/2] qapi: allow empty branches in flat unions

Anton Nefedov posted 2 patches 5 years, 10 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1528905228-25694-1-git-send-email-anton.nefedov@virtuozzo.com
Test checkpatch passed
Test docker-mingw@fedora passed
Test docker-quick@centos7 passed
Test s390x passed
There is a newer version of this series
docs/devel/qapi-code-gen.txt                       |  8 ++--
qapi/block-core.json                               | 52 ++--------------------
qapi/crypto.json                                   | 13 +-----
qapi/misc.json                                     | 46 +------------------
qapi/net.json                                      | 12 -----
qapi/ui.json                                       | 19 +-------
.../qapi-schema/flat-union-incomplete-branch.json  |  9 ----
tests/qapi-schema/qapi-schema-test.json            |  4 +-
block/qcow2.c                                      |  1 -
cpus.c                                             |  2 -
scripts/qapi/common.py                             | 11 ++---
scripts/qapi/types.py                              |  4 +-
scripts/qapi/visit.py                              | 17 +++++--
tests/Makefile.include                             |  1 -
tests/qapi-schema/flat-union-incomplete-branch.err |  1 -
.../qapi-schema/flat-union-incomplete-branch.exit  |  1 -
tests/qapi-schema/flat-union-incomplete-branch.out |  0
tests/qapi-schema/qapi-schema-test.out             |  3 +-
18 files changed, 36 insertions(+), 168 deletions(-)
delete mode 100644 tests/qapi-schema/flat-union-incomplete-branch.json
delete mode 100644 tests/qapi-schema/flat-union-incomplete-branch.err
delete mode 100644 tests/qapi-schema/flat-union-incomplete-branch.exit
delete mode 100644 tests/qapi-schema/flat-union-incomplete-branch.out
[Qemu-devel] [PATCH v4 0/2] qapi: allow empty branches in flat unions
Posted by Anton Nefedov 5 years, 10 months ago
since v3:
 - patch 2 fixed: BlockdevQcow2Encryption::QCryptoBlockOptionsQCow
   deletion was a mistake

v3: http://lists.nongnu.org/archive/html/qemu-devel/2018-05/msg06836.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                       |  8 ++--
 qapi/block-core.json                               | 52 ++--------------------
 qapi/crypto.json                                   | 13 +-----
 qapi/misc.json                                     | 46 +------------------
 qapi/net.json                                      | 12 -----
 qapi/ui.json                                       | 19 +-------
 .../qapi-schema/flat-union-incomplete-branch.json  |  9 ----
 tests/qapi-schema/qapi-schema-test.json            |  4 +-
 block/qcow2.c                                      |  1 -
 cpus.c                                             |  2 -
 scripts/qapi/common.py                             | 11 ++---
 scripts/qapi/types.py                              |  4 +-
 scripts/qapi/visit.py                              | 17 +++++--
 tests/Makefile.include                             |  1 -
 tests/qapi-schema/flat-union-incomplete-branch.err |  1 -
 .../qapi-schema/flat-union-incomplete-branch.exit  |  1 -
 tests/qapi-schema/flat-union-incomplete-branch.out |  0
 tests/qapi-schema/qapi-schema-test.out             |  3 +-
 18 files changed, 36 insertions(+), 168 deletions(-)
 delete mode 100644 tests/qapi-schema/flat-union-incomplete-branch.json
 delete mode 100644 tests/qapi-schema/flat-union-incomplete-branch.err
 delete mode 100644 tests/qapi-schema/flat-union-incomplete-branch.exit
 delete mode 100644 tests/qapi-schema/flat-union-incomplete-branch.out

-- 
2.7.4