qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v17 12/14] block: Add blockdev-backup to transac


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH v17 12/14] block: Add blockdev-backup to transaction
Date: Mon, 07 Apr 2014 15:11:45 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

On 03/10/2014 01:26 AM, Fam Zheng wrote:
> Signed-off-by: Fam Zheng <address@hidden>
> ---
>  blockdev.c       | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
>  qapi-schema.json |  1 +
>  2 files changed, 49 insertions(+)
> 

> +++ b/qapi-schema.json
> @@ -1972,6 +1972,7 @@
>    'data': {
>         'blockdev-snapshot-sync': 'BlockdevSnapshot',
>         'drive-backup': 'DriveBackup',
> +       'blockdev-backup': 'BlockdevBackup',
>         'abort': 'Abort',
>         'blockdev-snapshot-internal-sync': 'BlockdevSnapshotInternal'
>     } }

It might be nice to mention that the union was expanded in 2.1;
something like:

# A discriminated record of operations that can be performed with
# @transaction.
#
# Since 1.1, blockdev-backup since 2.1
##
{ 'union': 'TransactionAction',

Of course, this is a pre-existing problem, as we've added other actions
since 1.1 (blockdev-snapshot-internal-sync in 1.7, for example), so it
could be justified as a separate patch.  But it can't hurt to start
being more thorough in our docs.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]