• edison's avatar
    Copy snapshots out of QCOW2 disk · 51ef6727
    edison authored
    In order to backup snapshots, created from QCOW2 iamge, we want to copy snapshots out of QCOW2 disk to a seperate storage.
    The following patch adds a new option in "qemu-img": qemu-img convert -f qcow2 -O qcow2 -s snapshot_name src_img bck_img.
    Right now, it only supports to copy the full snapshot, delta snapshot is on the way.
    
    Changes from V1: all the comments from Kevin are addressed:
    Add read-only checking
    Fix coding style
    Change the name from bdrv_snapshot_load to bdrv_snapshot_load_tmp
    Signed-off-by: default avatarDisheng Su <edison@cloud.com>
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    51ef6727
qemu-img.texi 6.9 KB