1. 25 1月, 2014 1 次提交
  2. 22 1月, 2014 1 次提交
  3. 29 11月, 2013 1 次提交
  4. 28 11月, 2013 1 次提交
  5. 11 10月, 2013 1 次提交
  6. 06 9月, 2013 1 次提交
  7. 23 8月, 2013 1 次提交
  8. 06 6月, 2013 10 次提交
  9. 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
  10. 23 3月, 2013 1 次提交
  11. 15 3月, 2013 1 次提交
  12. 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
  13. 19 12月, 2012 2 次提交
  14. 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
  15. 11 12月, 2012 1 次提交
  16. 15 11月, 2012 1 次提交
  17. 06 11月, 2012 1 次提交
  18. 07 8月, 2012 1 次提交
  19. 17 7月, 2012 1 次提交
  20. 10 5月, 2012 1 次提交
  21. 19 4月, 2012 2 次提交
  22. 05 4月, 2012 1 次提交
  23. 29 2月, 2012 1 次提交
  24. 09 2月, 2012 1 次提交
  25. 27 1月, 2012 1 次提交
  26. 26 1月, 2012 1 次提交
  27. 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
  28. 05 12月, 2011 1 次提交
  29. 02 12月, 2011 1 次提交