On 05/24/2013 09:09 PM, Wenchao Xia wrote:
> All snapshot related code, except bdrv_snapshot_dump() and
> bdrv_is_snapshot(), is moved to block/snapshot.c. bdrv_snapshot_dump()
> will be moved to another file later. bdrv_is_snapshot() is not related
> with internal snapshot. It also fixes small code style errors reported
> by check script.
> 
> Signed-off-by: Wenchao Xia <xiaw...@linux.vnet.ibm.com>
> ---
>  block.c                  |  100 -----------------------------
>  block/Makefile.objs      |    1 +
>  block/snapshot.c         |  157 
> ++++++++++++++++++++++++++++++++++++++++++++++
>  include/block/block.h    |   26 ++------
>  include/block/snapshot.h |   53 ++++++++++++++++
>  savevm.c                 |   23 +-------
>  6 files changed, 217 insertions(+), 143 deletions(-)
>  create mode 100644 block/snapshot.c
>  create mode 100644 include/block/snapshot.h

Reviewed-by: Eric Blake <ebl...@redhat.com>

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