qemu-e2k/block
Christoph Hellwig 893a9cb47c cow: stop using mmap
We don't have an equivalent to mmap in the qemu block API, so read and
write the bitmap directly.  At least in the dumb implementation added
in this patch this is a lot less efficient, but it means cow can also
work on windows, and over nbd or curl.  And it fixes qemu-iotests testcase
012 which did not work properly due to issues with read-only mmap access.

In addition we can also get rid of the now unused get_mmap_addr function.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2010-06-15 09:41:59 +02:00
..
blkdebug.c Move stdbool.h 2010-06-13 19:00:50 +01:00
bochs.c
cloop.c
cow.c cow: stop using mmap 2010-06-15 09:41:59 +02:00
curl.c Fix %lld or %llx printf format use 2010-05-22 08:02:12 +00:00
dmg.c dmg: use qemu block API 2010-05-17 10:20:05 +02:00
nbd.c
parallels.c parallels: use qemu block API 2010-05-17 10:20:05 +02:00
qcow2-cluster.c qcow2: Restore L1 entry on l2_allocate failure 2010-06-15 09:41:58 +02:00
qcow2-refcount.c qcow2: Return real error code in load_refcount_block 2010-06-15 09:41:58 +02:00
qcow2-snapshot.c
qcow2.c qcow2: Allow qcow2_get_cluster_offset to return errors 2010-05-28 13:29:11 +02:00
qcow2.h qcow2: Allow qcow2_get_cluster_offset to return errors 2010-05-28 13:29:11 +02:00
qcow.c
raw-posix-aio.h
raw-posix.c Cleanup: raw-posix.c: Be more consistent using BDRV_SECTOR_SIZE instead of 512 2010-06-04 11:43:39 +02:00
raw-win32.c
raw.c
vdi.c block/vdi: Fix image opening and creation for odd disk sizes 2010-05-17 10:20:05 +02:00
vmdk.c
vpc.c vpc: Read/write multiple sectors at once 2010-06-15 09:41:58 +02:00
vvfat.c vvfat: More build fixes with DEBUG 2010-05-21 11:49:19 +02:00