1. 13 1月, 2011 1 次提交
  2. 25 11月, 2010 1 次提交
  3. 04 11月, 2010 1 次提交
  4. 22 6月, 2010 1 次提交
  5. 15 6月, 2010 1 次提交
    • K
      vpc: Read/write multiple sectors at once · 6c6ea921
      Kevin Wolf 提交于
      This changes the vpc block driver (for VHD) to read/write multiple sectors at
      once instead of doing a request for each single sector.
      
      Before this, running qemu-iotests for VPC took ages, now it's actually quite
      reasonable to run it always (down from ~1 hour to 40 seconds for me).
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      6c6ea921
  6. 17 5月, 2010 1 次提交
    • S
      block/vpc: Fix conversion from size to disk geometry · dede4188
      Stefan Weil 提交于
      The VHD algorithm calculates a disk geometry
      which is usually smaller than the requested size.
      
      QEMU tried to round up but failed for certain sizes:
      
      qemu-img create -f vpc disk.vpc 9437184
      would create an image with 9435136 bytes
      (which is too small for qemu-img convert).
      
      Instead of hacking the geometry algorithm, the patch
      increases the number of sectors until we get enough
      sectors.
      
      Cc: Kevin Wolf <kwolf@redhat.com>
      Signed-off-by: NStefan Weil <weil@mail.berlios.de>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      dede4188
  7. 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
  8. 10 9月, 2009 1 次提交
  9. 24 8月, 2009 1 次提交
    • N
      eliminate errors about unused results in block/vpc.c · 5ec4d682
      Nathan Froyd 提交于
      These errors come up when compiling with gcc-4.3.3 and some older headers:
      
      /scratch/froydnj/qemu.git/block/vpc.c: In function 'vpc_create':
      /scratch/froydnj/qemu.git/block/vpc.c:514: error: value computed is not used
      /scratch/froydnj/qemu.git/block/vpc.c:516: error: value computed is not used
      /scratch/froydnj/qemu.git/block/vpc.c:517: error: value computed is not used
      /scratch/froydnj/qemu.git/block/vpc.c:566: error: value computed is not used
      
      Use memcpy to copy the strings instead of strncpy.
      Signed-off-by: NNathan Froyd <froydnj@codesourcery.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      5ec4d682
  10. 06 6月, 2009 1 次提交
  11. 22 5月, 2009 1 次提交
  12. 15 5月, 2009 2 次提交
  13. 15 4月, 2009 1 次提交
  14. 08 3月, 2009 1 次提交
  15. 06 2月, 2009 1 次提交
  16. 27 1月, 2009 7 次提交
  17. 16 12月, 2007 1 次提交
  18. 11 11月, 2007 1 次提交
  19. 17 9月, 2007 2 次提交
  20. 02 8月, 2006 1 次提交
  21. 26 6月, 2006 1 次提交
  22. 29 4月, 2005 1 次提交
  23. 28 4月, 2005 1 次提交