qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Max Reitz <mreitz@redhat.com>
To: Alberto Garcia <berto@igalia.com>, qemu-devel@nongnu.org
Cc: Kevin Wolf <kwolf@redhat.com>,
	Stefan Hajnoczi <stefanha@redhat.com>,
	qemu-block@nongnu.org, Markus Armbruster <armbru@redhat.com>
Subject: Re: [Qemu-devel] [PATCH v4 0/4] Add 'x-blockdev-del' command
Date: Wed, 4 Nov 2015 17:15:08 +0100	[thread overview]
Message-ID: <563A2F0C.9070209@redhat.com> (raw)
In-Reply-To: <cover.1446475331.git.berto@igalia.com>

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

On 02.11.2015 15:51, Alberto Garcia wrote:
> This version has only documentation and test fixes.
> 
> Most are cosmetic changes, but there were two missing wait_ready() and
> wait_until_completed() calls that could break one of the tests.
> 
> Regards,
> 
> Berto
> 
> v4:
> - patch 3: s/being used/in use/ [Max]
> - patch 3: add 'blockdev-add' command to the 'x-blockdev-del' example
>   in qmp-commands.hx [Max]
> - patch 4: clarify that the BlkDebug and BlkVerify are not meant to be
>   real use cases of those drivers, but only to test the sanity checks
>   of 'x-blockdev-del' [Max]
> - patch 4: fix addBlockDriverStateOverlay() documentation [Max]
> - patch 4: add missing wait_ready() and wait_until_completed() calls
> 
> v3: https://lists.gnu.org/archive/html/qemu-block/2015-10/msg00854.html
> - Remove the extra references added in v2 to the mirror and backup
>   jobs, and use op blockers instead (for the mirror case only).
> 
> v2: https://lists.gnu.org/archive/html/qemu-block/2015-10/msg00828.html
> - Rename it as 'x-blockdev-del' and label it as experimental.
> - Use two parameters instead of just one. If you try to delete a BDS,
>   it must not be attached to any backend.
> - New test cases.
> - Hold extra references during the mirror and backup block jobs.
> 
> v1: https://lists.gnu.org/archive/html/qemu-devel/2015-10/msg02999.html
> - Initial implementation
> 
> Alberto Garcia (4):
>   mirror: block all operations on the target image during the job
>   block: Add blk_get_refcnt()
>   block: Add 'x-blockdev-del' QMP command
>   iotests: Add tests for the x-blockdev-del command
> 
>  block/block-backend.c          |   5 +
>  block/mirror.c                 |   4 +
>  blockdev.c                     |  66 +++++++
>  include/sysemu/block-backend.h |   1 +
>  qapi/block-core.json           |  32 +++-
>  qmp-commands.hx                |  61 +++++-
>  tests/qemu-iotests/139         | 414 +++++++++++++++++++++++++++++++++++++++++
>  tests/qemu-iotests/139.out     |   5 +
>  tests/qemu-iotests/group       |   1 +
>  9 files changed, 585 insertions(+), 4 deletions(-)
>  create mode 100644 tests/qemu-iotests/139
>  create mode 100644 tests/qemu-iotests/139.out

Thanks, applied to my block tree:

https://github.com/XanClic/qemu/commits/block


Max


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

      parent reply	other threads:[~2015-11-04 16:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-02 14:51 [Qemu-devel] [PATCH v4 0/4] Add 'x-blockdev-del' command Alberto Garcia
2015-11-02 14:51 ` [Qemu-devel] [PATCH v4 1/4] mirror: block all operations on the target image during the job Alberto Garcia
2015-11-02 14:51 ` [Qemu-devel] [PATCH v4 2/4] block: Add blk_get_refcnt() Alberto Garcia
2015-11-02 14:51 ` [Qemu-devel] [PATCH v4 3/4] block: Add 'x-blockdev-del' QMP command Alberto Garcia
2015-11-02 14:51 ` [Qemu-devel] [PATCH v4 4/4] iotests: Add tests for the x-blockdev-del command Alberto Garcia
2015-11-02 17:15   ` Max Reitz
2015-11-04 16:15 ` Max Reitz [this message]

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=563A2F0C.9070209@redhat.com \
    --to=mreitz@redhat.com \
    --cc=armbru@redhat.com \
    --cc=berto@igalia.com \
    --cc=kwolf@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    /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).