[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/2] qapi: allow flat unions with empty branches
From: |
Anton Nefedov |
Subject: |
[Qemu-devel] [PATCH 0/2] qapi: allow flat unions with empty branches |
Date: |
Fri, 11 May 2018 12:05:32 +0300 |
hej,
inspired by this thread
http://lists.nongnu.org/archive/html/qemu-devel/2018-01/msg04802.html
Seems that nobody got around to this since (did anybody?),
so I thought I'd give a try.
There's a generator patch and usage example.
Anton Nefedov (2):
qapi: allow flat unions with empty branches
qapi: avoid empty CpuInfoOther type
qapi/misc.json | 48 ++++--------------------------------------
cpus.c | 2 --
scripts/qapi/common.py | 18 ++++++++++------
scripts/qapi/doc.py | 2 +-
scripts/qapi/types.py | 2 +-
scripts/qapi/visit.py | 12 ++++++-----
tests/qapi-schema/test-qapi.py | 2 +-
7 files changed, 26 insertions(+), 60 deletions(-)
--
2.7.4
- [Qemu-devel] [PATCH 0/2] qapi: allow flat unions with empty branches,
Anton Nefedov <=
- [Qemu-devel] [PATCH 2/2] qapi: avoid empty CpuInfoOther type, Anton Nefedov, 2018/05/11
- [Qemu-devel] [PATCH 1/2] qapi: allow flat unions with empty branches, Anton Nefedov, 2018/05/11
- Re: [Qemu-devel] [PATCH 1/2] qapi: allow flat unions with empty branches, Markus Armbruster, 2018/05/14
- Re: [Qemu-devel] [PATCH 1/2] qapi: allow flat unions with empty branches, Eric Blake, 2018/05/14
- Re: [Qemu-devel] [PATCH 1/2] qapi: allow flat unions with empty branches, Markus Armbruster, 2018/05/15
- Re: [Qemu-devel] [PATCH 1/2] qapi: allow flat unions with empty branches, Eric Blake, 2018/05/15
- Re: [Qemu-devel] [PATCH 1/2] qapi: allow flat unions with empty branches, Markus Armbruster, 2018/05/15
- Re: [Qemu-devel] [PATCH 1/2] qapi: allow flat unions with empty branches, Anton Nefedov, 2018/05/16
- Re: [Qemu-devel] [PATCH 1/2] qapi: allow flat unions with empty branches, Markus Armbruster, 2018/05/17
- Re: [Qemu-devel] [PATCH 1/2] qapi: allow flat unions with empty branches, Eric Blake, 2018/05/17