Skip to content
Commits on Oct 22, 2010
  1. @edisonSu

    Copy snapshots out of QCOW2 disk

    edisonSu committed with Kevin Wolf
    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: Disheng Su <>
    Signed-off-by: Kevin Wolf <>
Something went wrong with that request. Please try again.