From: Victor Toso <victortoso@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Markus Armbruster" <armbru@redhat.com>,
"John Snow" <jsnow@redhat.com>,
"Daniel P . Berrangé" <berrange@redhat.com>
Subject: [PATCH v2 00/11] Validate and test qapi examples
Date: Mon, 11 Sep 2023 12:40:08 +0200 [thread overview]
Message-ID: <20230911104017.65397-1-victortoso@redhat.com> (raw)
Hi,
v1: https://lists.gnu.org/archive/html/qemu-devel/2023-09/msg00853.html
Changes:
- Fixed running the generator with tests (Daniel). Added a flag for the
generator, set in tests/meson.build (Philippe).
- Moved the script to the end of the series, to avoid git bisect issues
(Daniel)
- Added a proper assert() to the generator, making it fail if any
documentation error was found instead of just printing to the stderr
and carry on. (Daniel)
- Fixed the 3 other warnings the generator was showing, we are 100% free
of warnings (in my machine)
Cheers,
Victor
Victor Toso (11):
qapi: fix example of get-win32-socket command
qapi: fix example of dumpdtb command
qapi: fix example of cancel-vcpu-dirty-limit command
qapi: fix example of set-vcpu-dirty-limit command
qapi: fix example of calc-dirty-rate command
qapi: fix example of NETDEV_STREAM_CONNECTED event
qapi: fix example of query-rocker-of-dpa-flows command
qapi: fix example of query-spice command
qapi: fix example of query-blockstats command
qapi: meson: add test flag to allow skip generators
qapi: scripts: add a generator for qapi's examples
qapi/block-core.json | 32 +++---
qapi/machine.json | 2 +-
qapi/migration.json | 6 +-
qapi/misc.json | 2 +-
qapi/net.json | 6 +-
qapi/rocker.json | 3 +-
qapi/ui.json | 3 +-
scripts/qapi/dumpexamples.py | 204 +++++++++++++++++++++++++++++++++++
scripts/qapi/main.py | 9 +-
tests/meson.build | 2 +-
10 files changed, 239 insertions(+), 30 deletions(-)
create mode 100644 scripts/qapi/dumpexamples.py
--
2.41.0
next reply other threads:[~2023-09-11 10:41 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-11 10:40 Victor Toso [this message]
2023-09-11 10:40 ` [PATCH v2 01/11] qapi: fix example of get-win32-socket command Victor Toso
2023-09-11 10:40 ` [PATCH v2 02/11] qapi: fix example of dumpdtb command Victor Toso
2023-09-11 10:40 ` [PATCH v2 03/11] qapi: fix example of cancel-vcpu-dirty-limit command Victor Toso
2023-09-11 10:40 ` [PATCH v2 04/11] qapi: fix example of set-vcpu-dirty-limit command Victor Toso
2023-09-11 10:40 ` [PATCH v2 05/11] qapi: fix example of calc-dirty-rate command Victor Toso
2023-09-11 10:40 ` [PATCH v2 06/11] qapi: fix example of NETDEV_STREAM_CONNECTED event Victor Toso
2023-09-11 10:40 ` [PATCH v2 07/11] qapi: fix example of query-rocker-of-dpa-flows command Victor Toso
2023-09-11 10:53 ` Daniel P. Berrangé
2023-09-14 13:50 ` Markus Armbruster
2023-09-14 14:01 ` Victor Toso
2023-09-14 14:15 ` Daniel P. Berrangé
2023-09-11 10:40 ` [PATCH v2 08/11] qapi: fix example of query-spice command Victor Toso
2023-09-11 10:53 ` Daniel P. Berrangé
2023-09-11 10:40 ` [PATCH v2 09/11] qapi: fix example of query-blockstats command Victor Toso
2023-09-11 10:55 ` Daniel P. Berrangé
2023-09-11 11:27 ` [PATCH v2 10/11] qapi: meson: add test flag to allow skip generators Victor Toso
2023-09-11 11:27 ` [PATCH v2 11/11] qapi: scripts: add a generator for qapi's examples Victor Toso
2023-09-14 13:51 ` [PATCH v2 00/11] Validate and test qapi examples Markus Armbruster
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=20230911104017.65397-1-victortoso@redhat.com \
--to=victortoso@redhat.com \
--cc=armbru@redhat.com \
--cc=berrange@redhat.com \
--cc=jsnow@redhat.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).