qemu-e2k/block
Christoph Hellwig 16cdf7ce1a dmg: use pread
Use pread instead of lseek + read in preparation of using the qemu
block API.  Note that dmg actually uses the implicit file offset
a lot in dmg_open, and we had to replace it with an offset variable.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2010-05-17 10:20:05 +02:00
..
blkdebug.c block: Avoid unchecked casts for AIOCBs 2010-05-17 10:20:05 +02:00
bochs.c bochs: use qemu block API 2010-05-17 10:20:05 +02:00
cloop.c cloop: use qemu block API 2010-05-17 10:20:04 +02:00
cow.c block: Open the underlying image file in generic code 2010-05-03 10:07:30 +02:00
curl.c block: Open the underlying image file in generic code 2010-05-03 10:07:30 +02:00
dmg.c dmg: use pread 2010-05-17 10:20:05 +02:00
nbd.c block: Open the underlying image file in generic code 2010-05-03 10:07:30 +02:00
parallels.c parallels: use qemu block API 2010-05-17 10:20:05 +02:00
qcow.c block: Avoid unchecked casts for AIOCBs 2010-05-17 10:20:05 +02:00
qcow2-cluster.c block: Open the underlying image file in generic code 2010-05-03 10:07:30 +02:00
qcow2-refcount.c qcow2: Remove abort on free_clusters failure 2010-05-03 10:07:32 +02:00
qcow2-snapshot.c block: Open the underlying image file in generic code 2010-05-03 10:07:30 +02:00
qcow2.c block: Avoid unchecked casts for AIOCBs 2010-05-17 10:20:05 +02:00
qcow2.h qcow2: Implement bdrv_truncate() for growing images 2010-05-03 10:07:32 +02:00
raw-posix-aio.h Remove aio_ctx from paio_* interface 2009-10-30 08:39:34 -05:00
raw-posix.c raw-posix: Use pread/pwrite instead of lseek+read/write 2010-05-03 10:07:31 +02:00
raw-win32.c block: Open the underlying image file in generic code 2010-05-03 10:07:30 +02:00
raw.c block: Open the underlying image file in generic code 2010-05-03 10:07:30 +02:00
vdi.c block/vdi: Allow disk images of size 0 2010-05-17 10:20:05 +02:00
vmdk.c vmdk: Convert to bdrv_open 2010-05-03 10:07:31 +02:00
vpc.c block/vpc: Fix conversion from size to disk geometry 2010-05-17 10:20:05 +02:00
vvfat.c block: Open the underlying image file in generic code 2010-05-03 10:07:30 +02:00