1. 11 5月, 2017 1 次提交
  2. 01 3月, 2017 1 次提交
    • K
      backup: Use real permissions in backup block job · 4e9e4323
      Kevin Wolf 提交于
      The backup block job doesn't have very complicated requirements: It
      needs to read from the source and write to the target, but it's fine
      with either side being changed. The only restriction is that we can't
      resize the image because the job uses a cached value.
      
      qemu-iotests 055 needs to be changed because it used a target which was
      already attached to a virtio-blk device. The permission system correctly
      forbids this (virtio-blk can't accept another writer with its default
      share-rw=off).
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      Reviewed-by: NMax Reitz <mreitz@redhat.com>
      Acked-by: NFam Zheng <famz@redhat.com>
      4e9e4323
  3. 21 9月, 2016 1 次提交
  4. 06 9月, 2016 3 次提交
  5. 05 9月, 2015 2 次提交
  6. 19 3月, 2015 1 次提交
  7. 13 1月, 2015 1 次提交
  8. 10 12月, 2014 1 次提交
  9. 29 11月, 2013 1 次提交
  10. 27 7月, 2013 1 次提交
  11. 15 7月, 2013 1 次提交
    • S
      blockdev: add sync mode to drive-backup QMP command · b53169ea
      Stefan Hajnoczi 提交于
      The drive-backup command is similar to the drive-mirror command, except
      no guest data written after the command executes gets copied.  Add a
      sync mode argument which determines whether the entire disk is copied,
      just allocated clusters, or only clusters being written to by the guest.
      
      Currently only sync mode 'full' is supported - it copies the entire disk.
      For read-only point-in-time snapshots we may only need sync mode 'none'
      since the target can be a qcow2 file using the guest's disk as its
      backing file (no need to copy the entire disk).  Finally, sync mode
      'top' is useful if we wish to preserve the backing chain.
      
      Note that this patch just adds the sync mode argument to drive-backup.
      It does not implement sync modes 'top' or 'none'.  This patch is
      necessary so we can add a drive-backup HMP command that behaves like the
      existing drive-mirror HMP command and takes a sync mode.
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      b53169ea
  12. 28 6月, 2013 1 次提交