From: Kevin Wolf <kwolf@redhat.com>
To: qemu-block@nongnu.org
Cc: kwolf@redhat.com, qemu-devel@nongnu.org, armbru@redhat.com,
mreitz@redhat.com
Subject: [PATCH v2 0/4] qemu-storage-daemon: Remove QemuOpts from --object parser
Date: Wed, 30 Sep 2020 14:45:53 +0200 [thread overview]
Message-ID: <20200930124557.51835-1-kwolf@redhat.com> (raw)
This replaces the QemuOpts-based help code for --object in the storage
daemon with code based on the keyval parser.
v2:
- Fixed double comma by reusing the existing key and value parsers [Eric]
- More tests to cover the additional cases
Kevin Wolf (4):
keyval: Parse help options
qom: Factor out helpers from user_creatable_print_help()
qom: Add user_creatable_print_help_from_qdict()
qemu-storage-daemon: Remove QemuOpts from --object parser
include/qemu/option.h | 2 +-
include/qom/object_interfaces.h | 9 ++
qapi/qobject-input-visitor.c | 2 +-
qom/object_interfaces.c | 99 ++++++++-----
storage-daemon/qemu-storage-daemon.c | 15 +-
tests/test-keyval.c | 205 +++++++++++++++++++--------
util/keyval.c | 38 ++++-
7 files changed, 252 insertions(+), 118 deletions(-)
--
2.25.4
next reply other threads:[~2020-09-30 12:47 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-30 12:45 Kevin Wolf [this message]
2020-09-30 12:45 ` [PATCH v2 1/4] keyval: Parse help options Kevin Wolf
2020-09-30 13:35 ` Eric Blake
2020-09-30 15:10 ` Kevin Wolf
2020-10-01 10:34 ` Markus Armbruster
2020-10-01 11:33 ` Kevin Wolf
2020-10-01 15:46 ` Markus Armbruster
2020-10-05 12:08 ` Markus Armbruster
2020-09-30 12:45 ` [PATCH v2 2/4] qom: Factor out helpers from user_creatable_print_help() Kevin Wolf
2020-09-30 13:46 ` Eric Blake
2020-10-02 12:13 ` Markus Armbruster
2020-09-30 12:45 ` [PATCH v2 3/4] qom: Add user_creatable_print_help_from_qdict() Kevin Wolf
2020-09-30 13:48 ` Eric Blake
2020-10-02 12:25 ` Markus Armbruster
2020-10-02 12:36 ` Markus Armbruster
2020-09-30 12:45 ` [PATCH v2 4/4] qemu-storage-daemon: Remove QemuOpts from --object parser Kevin Wolf
2020-09-30 13:49 ` Eric Blake
2020-10-02 12:26 ` 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=20200930124557.51835-1-kwolf@redhat.com \
--to=kwolf@redhat.com \
--cc=armbru@redhat.com \
--cc=mreitz@redhat.com \
--cc=qemu-block@nongnu.org \
--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).