From: Markus Armbruster <armbru@redhat.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PULL v4 00/24] block: Command line option -blockdev
Date: Tue, 7 Mar 2017 16:20:21 +0100 [thread overview]
Message-ID: <1488900045-26344-1-git-send-email-armbru@redhat.com> (raw)
Actually, the command line option is the least part of this series.
Its bulk is about building infrastructure and getting errors out of
the JSON parser.
The design of the command line interface was discussed here:
Subject: Non-flat command line option argument syntax
Message-ID: <87bmukmlau.fsf@dusky.pond.sub.org>
https://lists.gnu.org/archive/html/qemu-devel/2017-02/msg00555.html
v4: PATCH 03: One-liner to placate clang sanitizer
v3: A few commit messages touched up, code unchanged
The following changes since commit ff79d5e939c38677a575e3493eb9b4d36eb21865:
Merge remote-tracking branch 'remotes/xtensa/tags/20170306-xtensa' into staging (2017-03-07 09:57:14 +0000)
are available in the git repository at:
git://repo.or.cz/qemu/armbru.git tags/pull-block-2017-02-28-v4
for you to fetch changes up to 0b2c1beea4358e40d1049b8ee019408ce96b37ce:
keyval: Support lists (2017-03-07 16:07:48 +0100)
----------------------------------------------------------------
block: Command line option -blockdev
----------------------------------------------------------------
Daniel P. Berrange (1):
qapi: qobject input visitor variant for use with keyval_parse()
Markus Armbruster (23):
test-qemu-opts: Cover qemu_opts_parse() of "no"
tests: Fix gcov-files-test-qemu-opts-y, gcov-files-test-logging-y
keyval: New keyval_parse()
test-keyval: Cover use with qobject input visitor
qapi: Factor out common part of qobject input visitor creation
qapi: Factor out common qobject_input_get_keyval()
qobject: Propagate parse errors through qobject_from_jsonv()
libqtest: Fix qmp() & friends to abort on JSON parse errors
qjson: Abort earlier on qobject_from_jsonf() misuse
test-qobject-input-visitor: Abort earlier on bad test input
qobject: Propagate parse errors through qobject_from_json()
block: More detailed syntax error reporting for JSON filenames
check-qjson: Test errors from qobject_from_json()
test-visitor-serialization: Pass &error_abort to qobject_from_json()
monitor: Assert qmp_schema_json[] is sane
test-qapi-util: New, covering qapi/qapi-util.c
qapi: New parse_qapi_name()
keyval: Restrict key components to valid QAPI names
qapi: New qobject_input_visitor_new_str() for convenience
block: Initial implementation of -blockdev
qapi: Improve how keyval input visitor reports unexpected dicts
docs/qapi-code-gen.txt: Clarify naming rules
keyval: Support lists
block.c | 9 +-
docs/qapi-code-gen.txt | 61 ++--
include/qapi/qmp/qjson.h | 5 +-
include/qapi/qobject-input-visitor.h | 21 ++
include/qapi/util.h | 2 +
include/qemu/option.h | 3 +
monitor.c | 2 +-
qapi/qapi-util.c | 47 +++
qapi/qobject-input-visitor.c | 214 +++++++++++-
qemu-options.hx | 7 +
qobject/qjson.c | 14 +-
tests/.gitignore | 2 +
tests/Makefile.include | 10 +-
tests/check-qjson.c | 88 +++--
tests/libqtest.c | 3 +-
tests/test-keyval.c | 624 +++++++++++++++++++++++++++++++++++
tests/test-qapi-util.c | 85 +++++
tests/test-qemu-opts.c | 5 +
tests/test-qobject-input-visitor.c | 190 ++++++++++-
tests/test-visitor-serialization.c | 2 +-
util/Makefile.objs | 1 +
util/keyval.c | 394 ++++++++++++++++++++++
vl.c | 39 +++
23 files changed, 1746 insertions(+), 82 deletions(-)
create mode 100644 tests/test-keyval.c
create mode 100644 tests/test-qapi-util.c
create mode 100644 util/keyval.c
--
2.7.4
next reply other threads:[~2017-03-07 15:20 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-07 15:20 Markus Armbruster [this message]
2017-03-07 15:20 ` [Qemu-devel] [PULL v4 01/24] test-qemu-opts: Cover qemu_opts_parse() of "no" Markus Armbruster
2017-03-07 15:20 ` [Qemu-devel] [PULL v4 02/24] tests: Fix gcov-files-test-qemu-opts-y, gcov-files-test-logging-y Markus Armbruster
2017-03-07 15:20 ` [Qemu-devel] [PULL v4 03/24] keyval: New keyval_parse() Markus Armbruster
2017-03-07 15:20 ` [Qemu-devel] [PULL v4 04/24] qapi: qobject input visitor variant for use with keyval_parse() Markus Armbruster
2017-03-07 15:20 ` [Qemu-devel] [PULL v4 05/24] test-keyval: Cover use with qobject input visitor Markus Armbruster
2017-03-07 15:20 ` [Qemu-devel] [PULL v4 06/24] qapi: Factor out common part of qobject input visitor creation Markus Armbruster
2017-03-07 15:20 ` [Qemu-devel] [PULL v4 07/24] qapi: Factor out common qobject_input_get_keyval() Markus Armbruster
2017-03-07 15:20 ` [Qemu-devel] [PULL v4 08/24] qobject: Propagate parse errors through qobject_from_jsonv() Markus Armbruster
2017-03-07 15:20 ` [Qemu-devel] [PULL v4 09/24] libqtest: Fix qmp() & friends to abort on JSON parse errors Markus Armbruster
2017-03-07 15:20 ` [Qemu-devel] [PULL v4 10/24] qjson: Abort earlier on qobject_from_jsonf() misuse Markus Armbruster
2017-03-07 15:20 ` [Qemu-devel] [PULL v4 11/24] test-qobject-input-visitor: Abort earlier on bad test input Markus Armbruster
2017-03-07 15:20 ` [Qemu-devel] [PULL v4 12/24] qobject: Propagate parse errors through qobject_from_json() Markus Armbruster
2017-03-07 15:20 ` [Qemu-devel] [PULL v4 13/24] block: More detailed syntax error reporting for JSON filenames Markus Armbruster
2017-03-07 15:20 ` [Qemu-devel] [PULL v4 14/24] check-qjson: Test errors from qobject_from_json() Markus Armbruster
2017-03-07 15:20 ` [Qemu-devel] [PULL v4 15/24] test-visitor-serialization: Pass &error_abort to qobject_from_json() Markus Armbruster
2017-03-07 15:20 ` [Qemu-devel] [PULL v4 16/24] monitor: Assert qmp_schema_json[] is sane Markus Armbruster
2017-03-07 15:20 ` [Qemu-devel] [PULL v4 17/24] test-qapi-util: New, covering qapi/qapi-util.c Markus Armbruster
2017-03-07 15:20 ` [Qemu-devel] [PULL v4 18/24] qapi: New parse_qapi_name() Markus Armbruster
2017-03-07 15:20 ` [Qemu-devel] [PULL v4 19/24] keyval: Restrict key components to valid QAPI names Markus Armbruster
2017-03-07 15:20 ` [Qemu-devel] [PULL v4 20/24] qapi: New qobject_input_visitor_new_str() for convenience Markus Armbruster
2017-03-07 15:20 ` [Qemu-devel] [PULL v4 21/24] block: Initial implementation of -blockdev Markus Armbruster
2017-03-07 15:20 ` [Qemu-devel] [PULL v4 22/24] qapi: Improve how keyval input visitor reports unexpected dicts Markus Armbruster
2017-03-07 15:20 ` [Qemu-devel] [PULL v4 23/24] docs/qapi-code-gen.txt: Clarify naming rules Markus Armbruster
2017-03-07 15:20 ` [Qemu-devel] [PULL v4 24/24] keyval: Support lists Markus Armbruster
2017-03-07 15:39 ` [Qemu-devel] [PULL v4 00/24] block: Command line option -blockdev no-reply
2017-03-08 9:47 ` Peter Maydell
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=1488900045-26344-1-git-send-email-armbru@redhat.com \
--to=armbru@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).