1. 18 2月, 2014 1 次提交
  2. 13 1月, 2014 8 次提交
  3. 20 11月, 2013 1 次提交
  4. 24 9月, 2013 2 次提交
  5. 12 9月, 2013 1 次提交
    • W
      snapshot: distinguish id and name in snapshot delete · a89d89d3
      Wenchao Xia 提交于
      Snapshot creation actually already distinguish id and name since it take
      a structured parameter *sn, but delete can't. Later an accurate delete
      is needed in qmp_transaction abort and blockdev-snapshot-delete-sync,
      so change its prototype. Also *errp is added to tip error, but return
      value is kepted to let caller check what kind of error happens. Existing
      caller for it are savevm, delvm and qemu-img, they are not impacted by
      introducing a new function bdrv_snapshot_delete_by_id_or_name(), which
      check the return value and do the operation again.
      
      Before this patch:
        For qcow2, it search id first then name to find the one to delete.
        For rbd, it search name.
        For sheepdog, it does nothing.
      
      After this patch:
        For qcow2, logic is the same by call it twice in caller.
        For rbd, it always fails in delete with id, but still search for name
      in second try, no change to user.
      
      Some code for *errp is based on Pavel's patch.
      Signed-off-by: NWenchao Xia <xiawenc@linux.vnet.ibm.com>
      Signed-off-by: NPavel Hrdina <phrdina@redhat.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      a89d89d3
  6. 23 8月, 2013 2 次提交
  7. 22 8月, 2013 1 次提交
  8. 23 7月, 2013 1 次提交
  9. 27 6月, 2013 5 次提交
  10. 22 6月, 2013 1 次提交
  11. 17 6月, 2013 1 次提交
  12. 04 6月, 2013 4 次提交
  13. 01 6月, 2013 1 次提交
  14. 17 4月, 2013 2 次提交
  15. 15 4月, 2013 1 次提交
  16. 09 4月, 2013 4 次提交
  17. 02 4月, 2013 1 次提交
  18. 26 3月, 2013 3 次提交