1. 06 6月, 2013 3 次提交
  2. 24 5月, 2013 1 次提交
    • K
      qemu-io: Fix 'map' output · a00e81e9
      Kevin Wolf 提交于
      The output of the 'map' command in qemu-io used to directly resemble
      bdrv_is_allocated() and could contain many lines for small chunks that
      all have the same allocation status. After this patch, they will be
      coalesced into a single output line for a large chunk.
      
      As a side effect, the command gains some error handling.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      a00e81e9
  3. 23 3月, 2013 1 次提交
  4. 15 3月, 2013 1 次提交
  5. 23 2月, 2013 1 次提交
    • P
      block: implement BDRV_O_UNMAP · 9e8f1835
      Paolo Bonzini 提交于
      It is better to present homogeneous hardware independent of the storage
      technology that is chosen on the host, hence we make discard a host
      parameter; the user can choose whether to pass it down to the image
      format and protocol, or to ignore it.
      
      Using DISCARD with filesystems can cause very severe fragmentation, so it
      is left default-off for now.  This can change later when we implement the
      "anchor" operation for efficient management of preallocated files.
      
      There is still one choice to make: whether DISCARD has an effect on the
      dirty bitmap or not.  I chose yes, though there is a disadvantage: if
      the guest is buggy and issues discards for data that is in use, there
      will be no way to migrate storage for that guest without downgrading
      the machine type to an older one.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      9e8f1835
  6. 19 12月, 2012 2 次提交
  7. 12 12月, 2012 1 次提交
    • K
      qemu-io: Add AIO debugging commands · 41c695c7
      Kevin Wolf 提交于
      This makes the blkdebug suspend/resume functionality available in
      qemu-io. Use it like this:
      
        $ ./qemu-io blkdebug::/tmp/test.qcow2
        qemu-io> break write_aio req_a
        qemu-io> aio_write 0 4k
        qemu-io> blkdebug: Suspended request 'req_a'
        qemu-io> resume req_a
        blkdebug: Resuming request 'req_a'
        qemu-io> wrote 4096/4096 bytes at offset 0
        4 KiB, 1 ops; 0:00:30.71 (133.359788 bytes/sec and 0.0326 ops/sec)
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      41c695c7
  8. 11 12月, 2012 1 次提交
  9. 15 11月, 2012 1 次提交
  10. 06 11月, 2012 1 次提交
  11. 07 8月, 2012 1 次提交
  12. 17 7月, 2012 1 次提交
  13. 10 5月, 2012 1 次提交
  14. 19 4月, 2012 2 次提交
  15. 05 4月, 2012 1 次提交
  16. 29 2月, 2012 1 次提交
  17. 09 2月, 2012 1 次提交
  18. 27 1月, 2012 1 次提交
  19. 26 1月, 2012 1 次提交
  20. 15 12月, 2011 1 次提交
    • P
      block: bdrv_aio_* do not return NULL · ad54ae80
      Paolo Bonzini 提交于
      Initially done with the following semantic patch:
      
      @ rule1 @
      expression E;
      statement S;
      @@
        E =
      (
         bdrv_aio_readv
      |  bdrv_aio_writev
      |  bdrv_aio_flush
      |  bdrv_aio_discard
      |  bdrv_aio_ioctl
      )
           (...);
      (
      - if (E == NULL) { ... }
      |
      - if (E)
          { <... S ...> }
      )
      
      which however missed the occurrence in block/blkverify.c
      (as it should have done), and left behind some unused
      variables.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      ad54ae80
  21. 05 12月, 2011 1 次提交
  22. 02 12月, 2011 1 次提交
  23. 04 11月, 2011 2 次提交
  24. 29 10月, 2011 1 次提交
  25. 21 10月, 2011 1 次提交
  26. 16 9月, 2011 1 次提交
  27. 10 9月, 2011 1 次提交
  28. 21 8月, 2011 1 次提交
  29. 18 7月, 2011 2 次提交
  30. 08 6月, 2011 1 次提交
  31. 31 1月, 2011 1 次提交
  32. 13 1月, 2011 1 次提交
  33. 17 12月, 2010 2 次提交