1. 07 4月, 2011 1 次提交
  2. 22 10月, 2010 1 次提交
    • E
      Copy snapshots out of QCOW2 disk · 51ef6727
      edison 提交于
      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: NDisheng Su <edison@cloud.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      51ef6727
  3. 13 7月, 2010 1 次提交
  4. 22 5月, 2010 1 次提交
  5. 03 5月, 2010 1 次提交
  6. 15 3月, 2010 1 次提交
  7. 14 1月, 2010 1 次提交
    • K
      qemu-img rebase · 3e85c6fd
      Kevin Wolf 提交于
      This adds a rebase subcommand to qemu-img which allows to change the backing
      file of an image.
      
      In default mode, both the current and the new backing file need to exist, and
      after the rebase, the COW image is guaranteed to have the same guest visible
      content as before. To achieve this, old and new backing file are compared and,
      if necessary, data is copied from the old backing file into the COW image.
      
      With -u an unsafe mode is enabled that doesn't require the backing files to
      exist. It merely changes the backing file reference in the COW image. This is
      useful for renaming or moving the backing file. The user is responsible to make
      sure that the new backing file has no changes compared to the old one, or
      corruption may occur.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      3e85c6fd
  8. 09 11月, 2009 1 次提交
  9. 07 6月, 2009 1 次提交