From: Anton Nefedov <anton.nefedov@virtuozzo.com>
To: qemu-devel@nongnu.org
Cc: eblake@redhat.com, armbru@redhat.com, mdroth@linux.vnet.ibm.com,
Anton Nefedov <anton.nefedov@virtuozzo.com>
Subject: [Qemu-devel] [PATCH 0/2] qapi: allow flat unions with empty branches
Date: Fri, 11 May 2018 12:05:32 +0300 [thread overview]
Message-ID: <1526029534-35771-1-git-send-email-anton.nefedov@virtuozzo.com> (raw)
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
next reply other threads:[~2018-05-11 9:06 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-11 9:05 Anton Nefedov [this message]
2018-05-11 9:05 ` [Qemu-devel] [PATCH 1/2] qapi: allow flat unions with empty branches Anton Nefedov
2018-05-14 18:08 ` Markus Armbruster
2018-05-14 19:34 ` Eric Blake
2018-05-15 7:01 ` Markus Armbruster
2018-05-15 15:20 ` Eric Blake
2018-05-15 17:40 ` Markus Armbruster
2018-05-16 15:05 ` Anton Nefedov
2018-05-17 8:05 ` Markus Armbruster
2018-05-17 13:21 ` Eric Blake
2018-05-18 6:45 ` Markus Armbruster
2018-05-18 8:16 ` Anton Nefedov
2018-05-11 9:05 ` [Qemu-devel] [PATCH 2/2] qapi: avoid empty CpuInfoOther type Anton Nefedov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1526029534-35771-1-git-send-email-anton.nefedov@virtuozzo.com \
--to=anton.nefedov@virtuozzo.com \
--cc=armbru@redhat.com \
--cc=eblake@redhat.com \
--cc=mdroth@linux.vnet.ibm.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).