Statistics
| Branch: | Revision:

root / block @ 2923d34f

Name Size
blkdebug.c 12.7 kB
blkverify.c 10.2 kB
bochs.c 7 kB
cloop.c 5.8 kB
cow.c 9.4 kB
curl.c 16.3 kB
dmg.c 8.7 kB
iscsi.c 15.8 kB
nbd.c 7.6 kB
parallels.c 4.8 kB
qcow.c 26 kB
qcow2-cache.c 7.5 kB
qcow2-cluster.c 27.9 kB
qcow2-refcount.c 37.8 kB
qcow2-snapshot.c 13.5 kB
qcow2.c 38.2 kB
qcow2.h 7.8 kB
qed-check.c 5.4 kB
qed-cluster.c 5.1 kB
qed-gencb.c 688 Bytes
qed-l2-cache.c 5.4 kB
qed-table.c 8.7 kB
qed.c 43.5 kB
qed.h 10.6 kB
raw-posix-aio.h 1.3 kB
raw-posix.c 31.7 kB
raw-win32.c 11.6 kB
raw.c 3.4 kB
rbd.c 21.8 kB
sheepdog.c 53.6 kB
vdi.c 30.1 kB
vmdk.c 45.3 kB
vpc.c 19.1 kB
vvfat.c 80.5 kB

Latest revisions

# Date Author Comment
2923d34f 11/21/2011 11:05 pm Stefan Weil

Include zlib.h using #include <>

zlib.h is not a local include file, therefore it should be included
using <> instead of "".

Signed-off-by: Stefan Weil <>
Signed-off-by: Anthony Liguori <>

06d9260f 11/21/2011 10:58 pm Anthony Liguori

qcow2: implement bdrv_invalidate_cache (v2)

We don't reopen the actual file, but instead invoke the close and open routines.
We specifically ignore the backing file since it's contents are read-only and
therefore immutable.

Signed-off-by: Anthony Liguori <>

1ed520c6 11/21/2011 10:58 pm Anthony Liguori

qed: add migration blocker (v2)

Now when you try to migrate with qed, you get:

(qemu) migrate tcp:localhost:1025
Block format 'qed' used by device 'ide0-hd0' does not support feature 'live migration'
(qemu)

Signed-off-by: Anthony Liguori <>

c68b89ac 11/11/2011 03:02 pm Kevin Wolf

block: Rename bdrv_co_flush to bdrv_co_flush_to_disk

There are two different types of flush that you can do: Flushing one level up
to the OS (i.e. writing data to the host page cache) or flushing it all the way
down to the disk. The existing functions flush to the disk, reflect this in the...

eb489bb1 11/11/2011 03:02 pm Kevin Wolf

block: Introduce bdrv_co_flush_to_os

qcow2 has a writeback metadata cache, so flushing a qcow2 image actually
consists of writing back that cache to the protocol and only then flushes the
protocol in order to get everything stable on disk.

This introduces a separate bdrv_co_flush_to_os to reflect the split....

78439f6a 11/11/2011 03:02 pm Charles Arnold

block: Fix vpc initialization of the Dynamic Disk Header

The Data Offset field in the Dynamic Disk Header is an 8 byte field.
Although the specification (2006-10-11) gives an example of initializing
only the first 4 bytes, images generated by Microsoft on Windows initialize...

7704df98 11/11/2011 03:02 pm Kevin Wolf

vvfat: Fix read-write mode

vvfat used to directly call into the qcow2 block driver instead of using the
block.c wrappers. With the coroutine conversion, this stopped working.

Signed-off-by: Kevin Wolf <>
Reviewed-by: Paolo Bonzini <>

273e4e03 11/04/2011 06:32 pm Paolo Bonzini

vvfat: reorganize computation of disk geometry

First determine FAT12/16/32, then compute geometry from that for both
FDD and HDD. For 1.44MB floppies, and 2.88MB floppies using FAT16,
change to 1 sector/cluster. The default remains 2.88MB with FAT12
and 2 sectors/cluster. Both DOS and mkdosfs by default format a 2.88MB...

d71cff42 11/04/2011 05:36 pm Paolo Bonzini

vvfat: do not hardcode sector counts in error message

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Kevin Wolf <>

5a742b55 11/04/2011 05:27 pm Paolo Bonzini

vvfat: unify and correct computation of sector count

The sector count is stored in the partition and hence must not include the
sectors before its start. At the same time, remove the useless special
casing for 1.44 MB floppies. This fixes fsck on VVFAT hard disks,...

View revisions

Also available in: Atom