qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v10 12/14] block: add transactional properties


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH v10 12/14] block: add transactional properties
Date: Tue, 3 Nov 2015 08:23:03 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 10/23/2015 05:56 PM, John Snow wrote:
> Add both transactional properties to the QMP transactional interface,
> and add the BlockJobTxn that we create as a result of the err-cancel
> property to the BlkActionState structure.
> 
> [split up from a patch originally by Stefan and Fam. --js]
> Signed-off-by: Stefan Hajnoczi <address@hidden>
> Signed-off-by: Fam Zheng <address@hidden>
> Signed-off-by: John Snow <address@hidden>
> 
> Signed-off-by: John Snow <address@hidden>

Double S-o-b looks odd.

> ---
>  blockdev.c       | 78 
> +++++++++++++++++++++++++++++++++++++++++++++++++++++---
>  qapi-schema.json | 48 +++++++++++++++++++++++++++++++---
>  qmp-commands.hx  |  2 +-
>  3 files changed, 120 insertions(+), 8 deletions(-)
> 


> +##
>  # @transaction
>  #
>  # Executes a number of transactionable QMP commands atomically. If any
>  # operation fails, then the entire set of actions will be abandoned and the
>  # appropriate error returned.
>  #
> -#  List of:
> -#  @TransactionAction: information needed for the respective operation
> +# @actions: List of @TransactionAction;
> +#           information needed for the respective operations.
> +#
> +# @properties: Optional structure of additional options to control the

Elsewhere, we've spelled it '#optional'; Marc-Andre has patches that
rely on that spelling to turn it .json into documentation.

But otherwise, looks good on first glance.

-- 
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]