qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 6/7] block: move qmp and info dump related code


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH 6/7] block: move qmp and info dump related code to block/qapi.c
Date: Tue, 30 Apr 2013 11:50:59 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130402 Thunderbird/17.0.5

On 04/26/2013 03:31 AM, Wenchao Xia wrote:
> This patch is a pure code move patch, except following modification:
> 1 get_human_readable_size() is changed to static function.
> 2 dump_human_image_info() is renamed to bdrv_image_info_dump().
> 3 in qmp_query_block() and qmp_query_blockstats, use bdrv_next(bs)
> instead of direct traverse of global array 'bdrv_states'.
> 4 code style fix.
> 
> Now block.h and snapshot.h are at the same level in include path,
> block_int.h and qapi.h will both include them.
> 
> Signed-off-by: Wenchao Xia <address@hidden>
> ---
>  block.c                   |  185 ---------------------------------
>  block/qapi.c              |  253 
> +++++++++++++++++++++++++++++++++++++++++++++
>  include/block/block.h     |   10 --
>  include/block/block_int.h |    1 +
>  include/block/qapi.h      |    6 +
>  qemu-img.c                |   69 +------------
>  savevm.c                  |    1 +
>  7 files changed, 262 insertions(+), 263 deletions(-)

Reviewed-by: Eric Blake <address@hidden>

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