1. 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
  2. 10 9月, 2009 1 次提交
  3. 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
  4. 06 6月, 2009 1 次提交
  5. 22 5月, 2009 1 次提交
  6. 15 5月, 2009 2 次提交
  7. 15 4月, 2009 1 次提交
  8. 08 3月, 2009 1 次提交
  9. 06 2月, 2009 1 次提交
  10. 27 1月, 2009 7 次提交
  11. 16 12月, 2007 1 次提交
  12. 11 11月, 2007 1 次提交
  13. 17 9月, 2007 2 次提交
  14. 02 8月, 2006 1 次提交
  15. 26 6月, 2006 1 次提交
  16. 29 4月, 2005 1 次提交
  17. 28 4月, 2005 1 次提交