qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Max Reitz <mreitz@redhat.com>
To: Kevin Wolf <kwolf@redhat.com>, qemu-block@nongnu.org
Cc: eblake@redhat.com, armbru@redhat.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v2] block: Remove "options" indirection from blockdev-add
Date: Mon, 10 Oct 2016 17:39:16 +0200	[thread overview]
Message-ID: <bb012ade-1a48-5bc2-c0ce-4eefee1bb130@redhat.com> (raw)
In-Reply-To: <1476106902-27337-1-git-send-email-kwolf@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1551 bytes --]

On 10.10.2016 15:41, Kevin Wolf wrote:
> Now that QAPI supports boxed types, we can have unions at the top level
> of a command, so let's put our real options directly there for
> blockdev-add instead of having a single "options" dict that contains the
> real arguments.
> 
> blockdev-add is still experimental and we already made substantial
> changes to the API recently, so we're free to make changes like this
> one, too.
> 
> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
> ---
> 
> v2:
> - Updated some documentation in docs/qmp-commands.txt and
>   qapi/block-core.json [Max]

In qmp-commands.txt, there is still a blockdev-add example with
"options" under x-blockdev-change, and the blockdev-add documentation
itself still says that blockdev-add takes an argument named "options".

Max

>  docs/qmp-commands.txt  |  72 ++++++++++++++----------------
>  qapi/block-core.json   |   4 +-
>  tests/qemu-iotests/041 |  11 +++--
>  tests/qemu-iotests/067 |  12 +++--
>  tests/qemu-iotests/071 | 118 +++++++++++++++++++++----------------------------
>  tests/qemu-iotests/081 |  52 ++++++++++------------
>  tests/qemu-iotests/085 |   9 ++--
>  tests/qemu-iotests/087 |  76 +++++++++++++------------------
>  tests/qemu-iotests/117 |  12 ++---
>  tests/qemu-iotests/118 |  42 +++++++++---------
>  tests/qemu-iotests/124 |  20 ++++-----
>  tests/qemu-iotests/139 |  10 ++---
>  tests/qemu-iotests/141 |  13 +++---
>  tests/qemu-iotests/155 |  10 ++---
>  14 files changed, 209 insertions(+), 252 deletions(-)



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 480 bytes --]

  parent reply	other threads:[~2016-10-10 15:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-10 13:41 [Qemu-devel] [PATCH v2] block: Remove "options" indirection from blockdev-add Kevin Wolf
2016-10-10 15:35 ` Eric Blake
2016-10-10 15:39 ` Max Reitz [this message]
2016-10-11  7:56 ` 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=bb012ade-1a48-5bc2-c0ce-4eefee1bb130@redhat.com \
    --to=mreitz@redhat.com \
    --cc=armbru@redhat.com \
    --cc=eblake@redhat.com \
    --cc=kwolf@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).