1. 06 8月, 2013 6 次提交
  2. 03 8月, 2013 1 次提交
  3. 27 7月, 2013 3 次提交
  4. 15 7月, 2013 3 次提交
    • K
      qemu-iotests: Update 051 reference output · 7a370406
      Kevin Wolf 提交于
      This has been broken by commit bd5c51ee.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      7a370406
    • K
      block: Don't parse protocol from file.filename · 98289620
      Kevin Wolf 提交于
      One of the major reasons for doing something new for -blockdev and
      blockdev-add was that the old block layer code parses filenames instead
      of just taking them literally. So we should really leave it untouched
      when it's passing using the new interfaces (like -drive
      file.filename=...).
      
      This allows opening relative file names that contain a colon.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      98289620
    • 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
  5. 28 6月, 2013 2 次提交
  6. 24 6月, 2013 1 次提交
  7. 06 6月, 2013 1 次提交
  8. 04 6月, 2013 5 次提交
  9. 29 5月, 2013 1 次提交
  10. 24 5月, 2013 2 次提交
  11. 08 5月, 2013 3 次提交
  12. 03 5月, 2013 2 次提交
  13. 26 4月, 2013 1 次提交
  14. 22 4月, 2013 3 次提交
  15. 15 4月, 2013 4 次提交
  16. 28 3月, 2013 2 次提交
    • K
      qcow2: Gather clusters in a looping loop · ecdd5333
      Kevin Wolf 提交于
      Instead of just checking once in exactly this order if there are
      dependendies, non-COW clusters and new allocation, this starts looping
      around these. This way we can, for example, gather non-COW clusters after
      new allocations as long as the host cluster offsets stay contiguous.
      
      Once handle_dependencies() is extended so that COW areas of in-flight
      allocations can be overwritten, this allows to continue with gathering
      other clusters (we wouldn't be able to do that without this change
      because we would have missed a possible second dependency in one of the
      next clusters).
      
      This means that in the typical sequential write case, we can combine the
      COW overwrite of one cluster with the allocation of the next cluster as
      soon as something like Delayed COW gets actually implemented. It is only
      by avoiding splitting requests this way that Delayed COW actually starts
      improving performance noticably.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      ecdd5333
    • K
      qcow2: Improve check for overlapping allocations · d9d74f41
      Kevin Wolf 提交于
      The old code detected an overlapping allocation even when the
      allocations didn't actually overlap, but were only adjacent.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      d9d74f41