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, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v2 0/7] block: Make more blockdev-add options work
Date: Mon, 26 Sep 2016 19:10:56 +0200	[thread overview]
Message-ID: <ac86c9a7-a57d-c6fd-e623-43d3bd83cdc1@redhat.com> (raw)
In-Reply-To: <1474641161-10891-1-git-send-email-kwolf@redhat.com>

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

On 23.09.2016 16:32, Kevin Wolf wrote:
> This series moves a few more options from flags to the appropriate place. This
> doesn't only result in cleaner code, but also allows using these options in
> nested node definitions.
> 
> After this series, bds_tree_init() is only a thin wrapper around bdrv_open()
> which sets the right defaults for cache modes and the BDRV_O_INACTIVE flag if
> necessary.
> 
> Depends on my block branch, specifically Berto's 'read-only' patches.
> 
> v2:
> - Patch 3 ('block/qapi: Move 'aio' option to file driver')
>   Use qapi_enum_parse() instead of parsing manually [Eric]
> 
> - Patch 4 ('block: Parse 'detect-zeroes' in bdrv_open_common()')
>   Fixed typo in commit message [Eric]
>   Reuse local detect_zeroes variable instead of querying QemuOpts [Eric]
> 
> Kevin Wolf (7):
>   block: Drop aio/cache consistency check from qmp_blockdev_add()
>   block/qapi: Use separate options type for curl driver
>   block/qapi: Move 'aio' option to file driver
>   block: Parse 'detect-zeroes' in bdrv_open_common()
>   block: Use 'detect-zeroes' option for 'blockdev-change-medium'
>   block: Move 'discard' option to bdrv_open_common()
>   block: Remove qemu_root_bds_opts
> 
>  block.c                        |  50 ++++++++++++++++++-
>  block/block-backend.c          |   9 ++--
>  block/raw-posix.c              |  44 ++++++++++-------
>  block/raw-win32.c              |  56 +++++++++++++++++++--
>  blockdev.c                     | 110 +++--------------------------------------
>  include/block/block.h          |   1 +
>  include/sysemu/block-backend.h |   2 +-
>  qapi/block-core.json           |  31 ++++++++----
>  tests/qemu-iotests/087         |   4 +-
>  tests/qemu-iotests/087.out     |   2 +-
>  10 files changed, 164 insertions(+), 145 deletions(-)

Reviewed-by: Max Reitz <mreitz@redhat.com>

It's a bit funny now how blockdev_init() and
extract_common_blockdev_options() are actually used by neither
blockdev-add nor -blockdev, but only by drive_new() (which happily
advertises blockdev_init() to be shared with blockev-add, though).

Max


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

  parent reply	other threads:[~2016-09-26 17:11 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-23 14:32 [Qemu-devel] [PATCH v2 0/7] block: Make more blockdev-add options work Kevin Wolf
2016-09-23 14:32 ` [Qemu-devel] [PATCH v2 1/7] block: Drop aio/cache consistency check from qmp_blockdev_add() Kevin Wolf
2016-09-23 14:32 ` [Qemu-devel] [PATCH v2 2/7] block/qapi: Use separate options type for curl driver Kevin Wolf
2016-09-23 14:32 ` [Qemu-devel] [PATCH v2 3/7] block/qapi: Move 'aio' option to file driver Kevin Wolf
2016-09-23 14:40   ` Eric Blake
2016-09-26  9:16     ` Kevin Wolf
2016-09-26 16:49   ` Max Reitz
2016-09-27  8:20     ` Kevin Wolf
2016-09-27 19:43       ` Max Reitz
2016-09-23 14:32 ` [Qemu-devel] [PATCH v2 4/7] block: Parse 'detect-zeroes' in bdrv_open_common() Kevin Wolf
2016-09-23 14:41   ` Eric Blake
2016-09-23 14:32 ` [Qemu-devel] [PATCH v2 5/7] block: Use 'detect-zeroes' option for 'blockdev-change-medium' Kevin Wolf
2016-09-23 14:32 ` [Qemu-devel] [PATCH v2 6/7] block: Move 'discard' option to bdrv_open_common() Kevin Wolf
2016-09-23 14:32 ` [Qemu-devel] [PATCH v2 7/7] block: Remove qemu_root_bds_opts Kevin Wolf
2016-09-26 17:10 ` Max Reitz [this message]
2016-09-27  8:26   ` [Qemu-devel] [PATCH v2 0/7] block: Make more blockdev-add options work Kevin Wolf
2016-09-27  8:28 ` 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=ac86c9a7-a57d-c6fd-e623-43d3bd83cdc1@redhat.com \
    --to=mreitz@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).