[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 04/10] block: make 'top' argument to block-co
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v4 04/10] block: make 'top' argument to block-commit optional |
Date: |
Wed, 04 Jun 2014 14:59:44 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
On 06/04/2014 07:51 AM, Jeff Cody wrote:
> Now that active layer block-commit is supported, the 'top' argument
> no longer needs to be mandatory.
>
> Change it to optional, with the default being the active layer in the
> device chain.
>
> Reviewed-by: Eric Blake <address@hidden>
> Reviewed-by: Benoit Canet <address@hidden>
> Signed-off-by: Jeff Cody <address@hidden>
> ---
Unrelated to my review, but I wish we had done a better job at making
the qemu 2.0 addition of active commit introspectible. Had we made
_this_ patch at the same time, introspection would be possible by
creating a dummy blockdev, then attempting a block-commit that omits the
'top' argument (since the error message for a missing required argument
[old qemu] is different than the message for a blockdev that can't be
committed [new qemu]). But since this change is in a different release
than where we supported active commit, I'm stuck coming up with some
reliable way to do a probe of whether active commit is supported so that
libvirt knows whether to expose active commit on to the end user.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH v4 00/10] Modify block jobs to use node-names, Jeff Cody, 2014/06/04
- [Qemu-devel] [PATCH v4 02/10] block: add helper function to determine if a BDS is in a chain, Jeff Cody, 2014/06/04
- [Qemu-devel] [PATCH v4 01/10] block: Auto-generate node_names for each BDS entry, Jeff Cody, 2014/06/04
- [Qemu-devel] [PATCH v4 04/10] block: make 'top' argument to block-commit optional, Jeff Cody, 2014/06/04
- Re: [Qemu-devel] [PATCH v4 04/10] block: make 'top' argument to block-commit optional,
Eric Blake <=
- [Qemu-devel] [PATCH v4 03/10] block: simplify bdrv_find_base() and bdrv_find_overlay(), Jeff Cody, 2014/06/04
- [Qemu-devel] [PATCH v4 05/10] block: Accept node-name arguments for block-commit, Jeff Cody, 2014/06/04
- [Qemu-devel] [PATCH v4 06/10] block: extend block-commit to accept a string for the backing file, Jeff Cody, 2014/06/04
- [Qemu-devel] [PATCH v4 08/10] block: add backing-file option to block-stream, Jeff Cody, 2014/06/04
- [Qemu-devel] [PATCH v4 07/10] block: add ability for block-stream to use node-name, Jeff Cody, 2014/06/04