1. 10 5月, 2012 1 次提交
  2. 19 4月, 2012 2 次提交
  3. 05 4月, 2012 1 次提交
  4. 29 2月, 2012 1 次提交
  5. 09 2月, 2012 1 次提交
  6. 27 1月, 2012 1 次提交
  7. 26 1月, 2012 1 次提交
  8. 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
  9. 05 12月, 2011 1 次提交
  10. 02 12月, 2011 1 次提交
  11. 04 11月, 2011 2 次提交
  12. 29 10月, 2011 1 次提交
  13. 21 10月, 2011 1 次提交
  14. 16 9月, 2011 1 次提交
  15. 10 9月, 2011 1 次提交
  16. 21 8月, 2011 1 次提交
  17. 18 7月, 2011 2 次提交
  18. 08 6月, 2011 1 次提交
  19. 31 1月, 2011 1 次提交
  20. 13 1月, 2011 1 次提交
  21. 17 12月, 2010 3 次提交
  22. 22 10月, 2010 1 次提交
  23. 21 9月, 2010 1 次提交
  24. 08 9月, 2010 1 次提交
  25. 31 7月, 2010 1 次提交
  26. 04 6月, 2010 1 次提交
  27. 28 5月, 2010 1 次提交
  28. 22 5月, 2010 1 次提交
  29. 23 4月, 2010 2 次提交
    • C
      block: get rid of the BDRV_O_FILE flag · 6db95603
      Christoph Hellwig 提交于
      BDRV_O_FILE is only used to communicate between bdrv_file_open and bdrv_open.
      It affects two things:  first bdrv_open only searches for protocols using
      find_protocol instead of all image formats and host drivers.  We can easily
      move that to the caller and pass the found driver to bdrv_open.  Second
      it is used to not force a read-write open of a snapshot file.  But we never
      use bdrv_file_open to open snapshots and this behaviour doesn't make sense
      to start with.
      
      qemu-io abused the BDRV_O_FILE for it's growable option, switch it to
      using bdrv_file_open to make sure we only open files as growable were
      we can actually support that.
      
      This patch requires Kevin's "[PATCH] Replace calls of old bdrv_open" to
      be applied first.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      6db95603
    • K
      Replace calls of old bdrv_open · d6e9098e
      Kevin Wolf 提交于
      What is known today as bdrv_open2 becomes the new bdrv_open. All remaining
      callers of the old function are converted to the new one. In some places they
      even know the right format, so they should have used bdrv_open2 from the
      beginning.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      d6e9098e
  30. 28 3月, 2010 1 次提交
  31. 27 3月, 2010 1 次提交
  32. 27 1月, 2010 1 次提交
  33. 20 1月, 2010 1 次提交
  34. 23 12月, 2009 1 次提交