1. 21 10月, 2011 1 次提交
  2. 14 10月, 2011 1 次提交
  3. 23 8月, 2011 6 次提交
  4. 21 8月, 2011 1 次提交
  5. 02 8月, 2011 1 次提交
  6. 14 6月, 2011 1 次提交
  7. 15 3月, 2011 1 次提交
  8. 25 11月, 2010 1 次提交
  9. 04 11月, 2010 1 次提交
  10. 22 6月, 2010 1 次提交
  11. 17 5月, 2010 1 次提交
  12. 03 5月, 2010 1 次提交
    • K
      block: Open the underlying image file in generic code · 66f82cee
      Kevin Wolf 提交于
      Format drivers shouldn't need to bother with things like file names, but rather
      just get an open BlockDriverState for the underlying protocol. This patch
      introduces this behaviour for bdrv_open implementation. For protocols which
      need to access the filename to open their file/device/connection/... a new
      callback bdrv_file_open is introduced which doesn't get an underlying file
      opened.
      
      For now, also some of the more obscure formats use bdrv_file_open because they
      open() the file themselves instead of using the block.c functions. They need to
      be fixed in later patches.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      66f82cee
  13. 10 3月, 2010 1 次提交
  14. 27 1月, 2010 1 次提交
  15. 14 1月, 2010 1 次提交
  16. 11 7月, 2009 1 次提交
  17. 06 6月, 2009 1 次提交
  18. 27 5月, 2009 3 次提交
  19. 22 5月, 2009 1 次提交
  20. 15 5月, 2009 2 次提交
  21. 23 4月, 2009 1 次提交
    • A
      implement qemu_blockalign (Stefano Stabellini) · e268ca52
      aliguori 提交于
      this patch adds a buffer_alignment field to BlockDriverState and
      implements a qemu_blockalign function that uses that field to allocate a
      memory aligned buffer to be used by the block driver.
      buffer_alignment is initialized to 512 but each block driver can set
      a different value (at the moment none of them do).
      This patch modifies ide.c, block-qcow.c, block-qcow2.c and block.c to
      use qemu_blockalign instead of qemu_memalign.
      There is only one place left that still uses qemu_memalign to allocate
      buffers used by block drivers that is posix-aio-compat:handle_aiocb_rw
      because it is not possible to get the BlockDriverState from that
      function. However I think it is not important because posix-aio-compat
      already deals with driver specific code so it is supposed to know its
      own needs.
      Signed-off-by: NStefano Stabellini <stefano.stabellini@eu.citrix.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7229 c046a42c-6fe2-441c-8c8c-71466251a162
      e268ca52
  22. 14 4月, 2009 1 次提交
  23. 08 4月, 2009 2 次提交
  24. 08 3月, 2009 1 次提交
  25. 09 1月, 2009 1 次提交
  26. 06 6月, 2008 1 次提交
  27. 18 3月, 2008 1 次提交
  28. 12 3月, 2008 2 次提交
  29. 11 11月, 2007 1 次提交
  30. 17 9月, 2007 1 次提交