From: Kevin Wolf <kwolf@redhat.com>
To: qemu-block@nongnu.org
Cc: kwolf@redhat.com, qemu-devel@nongnu.org, mreitz@redhat.com
Subject: [PATCH 0/4] qemu-img/io/nbd: Support help options for --object
Date: Fri, 11 Oct 2019 22:55:47 +0200 [thread overview]
Message-ID: <20191011205551.32149-1-kwolf@redhat.com> (raw)
This series fixes that the tools don't consider help options for
--object and just treat them as regular object properties. For example:
$ ./qemu-io --object secret,help
qemu-io: Parameter 'id' is missing
With these patches, we get the expected behaviour like in the system
emulator.
Kevin Wolf (4):
vl: Split off user_creatable_print_help()
qemu-io: Support help options for --object
qemu-img: Support help options for --object
qemu-nbd: Support help options for --object
include/qom/object_interfaces.h | 12 +++++++
qemu-img.c | 34 +++++++++++-------
qemu-io.c | 9 ++++-
qemu-nbd.c | 9 ++++-
qom/object_interfaces.c | 61 +++++++++++++++++++++++++++++++++
vl.c | 52 +---------------------------
6 files changed, 111 insertions(+), 66 deletions(-)
--
2.20.1
next reply other threads:[~2019-10-11 20:57 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-11 20:55 Kevin Wolf [this message]
2019-10-11 20:55 ` [PATCH 1/4] vl: Split off user_creatable_print_help() Kevin Wolf
2019-10-11 21:35 ` Eric Blake
2019-10-14 9:55 ` Kevin Wolf
2019-10-14 14:18 ` Eric Blake
2019-10-11 20:55 ` [PATCH 2/4] qemu-io: Support help options for --object Kevin Wolf
2019-10-11 21:36 ` Eric Blake
2019-10-11 20:55 ` [PATCH 3/4] qemu-img: " Kevin Wolf
2019-10-11 21:37 ` Eric Blake
2019-10-11 20:55 ` [PATCH 4/4] qemu-nbd: " Kevin Wolf
2019-10-11 21:39 ` Eric Blake
2019-10-14 9:47 ` Kevin Wolf
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=20191011205551.32149-1-kwolf@redhat.com \
--to=kwolf@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.