Statistics
| Branch: | Revision:

root / block @ 93913dfd

Name Size
blkdebug.c 12.8 kB
blkverify.c 10.5 kB
bochs.c 6.6 kB
cloop.c 4.9 kB
cow.c 8.6 kB
curl.c 14.8 kB
dmg.c 8.3 kB
nbd.c 6.9 kB
parallels.c 4.4 kB
qcow.c 31 kB
qcow2-cache.c 7.5 kB
qcow2-cluster.c 27.9 kB
qcow2-refcount.c 38.4 kB
qcow2-snapshot.c 13.3 kB
qcow2.c 40.9 kB
qcow2.h 7.9 kB
qed-check.c 5.4 kB
qed-cluster.c 5.1 kB
qed-gencb.c 694 Bytes
qed-l2-cache.c 5.4 kB
qed-table.c 8.9 kB
qed.c 43.5 kB
qed.h 10.6 kB
raw-posix-aio.h 1.3 kB
raw-posix.c 39.8 kB
raw-win32.c 12.2 kB
raw.c 3.9 kB
rbd.c 20.3 kB
sheepdog.c 53 kB
vdi.c 29.9 kB
vmdk.c 38.4 kB
vpc.c 18 kB
vvfat.c 80.6 kB

Latest revisions

# Date Author Comment
93913dfd 07/19/2011 04:39 pm Kevin Wolf

qcow2: Use Qcow2Cache in writeback mode during loadvm/savevm

In snapshotting there is no guest involved, so we can safely use a writeback
mode and do the flushes in the right place (i.e. at the very end). This
improves the time that creating/restoring an internal snapshot takes with an...

4a1d5e1f 07/19/2011 04:39 pm Fam Zheng

block: add bdrv_get_allocated_file_size() operation

qemu-img.c wants to count allocated file size of image. Previously it
counts a single bs->file by 'stat' or Window API. As VMDK introduces
multiple file support, the operation becomes format specific with...

69b4d86d 07/19/2011 04:39 pm Fam Zheng

VMDK: move 'static' cid_update flag to bs field

Cid_update is the flag for updating CID on first write after opening the
image. This should be per image open rather than per program life cycle,
so change it from static var of vmdk_write to a field in BDRVVmdkState....

91b85bd3 07/19/2011 04:39 pm Fam Zheng

VMDK: change get_cluster_offset return type

The return type of get_cluster_offset was an offset that use 0 to denote
'not allocated', this will be no longer true for flat extents, as we see
flat extent file as a single huge cluster whose offset is 0 and length...

7fa60fa3 07/19/2011 04:39 pm Fam Zheng

VMDK: open/read/write for monolithicFlat image

Parse vmdk decriptor file and open mono flat image.
Read/write the flat extent.

Signed-off-by: Fam Zheng <>
Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Kevin Wolf <>

f66fd6c3 07/19/2011 04:39 pm Fam Zheng

VMDK: create different subformats

Add create option 'format', with enums:
monolithicSparse
monolithicFlat
twoGbMaxExtentSparse
twoGbMaxExtentFlat
Each creates a subformat image file. The default is monolithicSparse.

Signed-off-by: Fam Zheng <>...

ae261c86 07/19/2011 04:39 pm Fam Zheng

VMDK: fix coding style

Conform coding style in vmdk.c to pass scripts/checkpatch.pl checks.

Signed-off-by: Fam Zheng <>
Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Kevin Wolf <>

b4b3ab14 07/19/2011 04:39 pm Fam Zheng

VMDK: separate vmdk_open by format version

Separate vmdk_open by subformats to:
  • vmdk_open_vmdk3
  • vmdk_open_vmdk4

Signed-off-by: Fam Zheng <>
Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Kevin Wolf <>

e1da9b24 07/19/2011 04:39 pm Fam Zheng

VMDK: add field BDRVVmdkState.desc_offset

There are several occurrence of magic number 0x200 as the descriptor
offset within mono sparse image file. This is not the case for images
with separate descriptor file. So a field is added to BDRVVmdkState to
hold the correct value....

333c574d 07/19/2011 04:39 pm Fam Zheng

VMDK: flush multiple extents

Flush all the file that referenced by the image.

Signed-off-by: Fam Zheng <>
Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Kevin Wolf <>

View revisions

Also available in: Atom