qemu-block
[Top][All Lists]
Advanced

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

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


From: John Snow
Subject: Re: [Qemu-block] [Qemu-devel] [PATCH v10 12/14] block: add transactional properties
Date: Tue, 3 Nov 2015 12:31:24 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0


On 11/03/2015 10:23 AM, Eric Blake wrote:
> 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.
> 

Do you mean:

"# @properties: #optional structure of "... ?

--js



reply via email to

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