qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v3 05/16] block: export dirty bitmap information


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH v3 05/16] block: export dirty bitmap information in query-block
Date: Thu, 18 Oct 2012 10:51:59 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121009 Thunderbird/16.0

On 10/18/2012 08:49 AM, Paolo Bonzini wrote:
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
>         v2->v3: unit of measure is now bytes
> 
>  block.c          |  7 +++++++
>  qapi-schema.json | 20 ++++++++++++++++++--
>  2 file modificati, 25 inserzioni(+), 2 rimozioni(-)
> 
> +++ b/qapi-schema.json
> @@ -629,7 +629,7 @@
>              '*backing_file': 'str', 'backing_file_depth': 'int',
>              'encrypted': 'bool', 'encryption_key_missing': 'bool',
>              'bps': 'int', 'bps_rd': 'int', 'bps_wr': 'int',
> -            'iops': 'int', 'iops_rd': 'int', 'iops_wr': 'int'} }
> +            'iops': 'int', 'iops_rd': 'int', 'iops_wr': 'int' } }
>  

This whitespace change hunk looks out of place...

>  ##
>  # @BlockDeviceIoStatus:
> @@ -647,6 +647,18 @@
>  { 'enum': 'BlockDeviceIoStatus', 'data': [ 'ok', 'failed', 'nospace' ] }
>  
>  ##
> +# @BlockDirtyInfo:
> +#
> +# Block dirty bitmap information.
> +#
> +# @count: number of dirty bytes according to the dirty bitmap
> +#
> +# Since: 1.3
> +##
> +{ 'type': 'BlockDirtyInfo',
> +  'data': {'count': 'int'} }

...especially since you aren't consistent on using space before }

However, I can live with it, rather than needing a v4.

-- 
Eric Blake   address@hidden    +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]