Statistics
| Branch: | Revision:

root / block @ 6a1751b7

Name Size
Makefile.objs 912 Bytes
backup.c 11.8 kB
blkdebug.c 17.4 kB
blkverify.c 11.7 kB
bochs.c 7.1 kB
cloop.c 5.9 kB
commit.c 7.3 kB
cow.c 9.6 kB
curl.c 18.6 kB
dmg.c 10.3 kB
gluster.c 19.4 kB
iscsi.c 36.3 kB
linux-aio.c 5.2 kB
mirror.c 18.7 kB
nbd.c 18.7 kB
parallels.c 4.8 kB
qapi.c 15.1 kB
qcow.c 27.8 kB
qcow2-cache.c 7.8 kB
qcow2-cluster.c 44 kB
qcow2-refcount.c 44.5 kB
qcow2-snapshot.c 18.7 kB
qcow2.c 53.9 kB
qcow2.h 13 kB
qed-check.c 6.5 kB
qed-cluster.c 5.1 kB
qed-gencb.c 688 Bytes
qed-l2-cache.c 5.9 kB
qed-table.c 8.4 kB
qed.c 46 kB
qed.h 10.8 kB
raw-aio.h 1.6 kB
raw-posix.c 49.6 kB
raw-win32.c 16.5 kB
raw.c 5.5 kB
rbd.c 25.9 kB
sheepdog.c 63.7 kB
snapshot.c 4.1 kB
ssh.c 29 kB
stream.c 6.8 kB
vdi.c 24.8 kB
vhdx.c 30.4 kB
vhdx.h 14.8 kB
vmdk.c 54.6 kB
vpc.c 23.7 kB
vvfat.c 84.5 kB
win32-aio.c 5.9 kB

Latest revisions

# Date Author Comment
b0651b8c 08/22/2013 04:35 pm Fam Zheng

vmdk: Move l1_size check into vmdk_add_extent()

This header check is common to VMDK3 and VMDK4, so move it into
vmdk_add_extent().

Signed-off-by: Fam Zheng <>
Signed-off-by: Stefan Hajnoczi <>

f6b61e54 08/22/2013 04:35 pm Fam Zheng

vmdk: fix L1 and L2 table size in vmdk3 open

VMDK3 header has the field l1dir_size, but vmdk_open_vmdk3 hardcoded the
value. This patch honors the header field.

And the L2 table size is 4096 according to VMDK spec1, instead of
1 << 9 (512).

[1]:
http://www.vmware.com/support/developer/vddk/vmdk_50_technote.pdf?src=vmdk...

daac8fdc 08/22/2013 04:35 pm Fam Zheng

vmdk: support vmfsSparse files

VMware ESX hosts use a variant of the VMDK3 format, identified by the
vmfsSparse create type ad the VMFSSPARSE extent type.

It has 16 KB grain tables (L2) and a variable-size grain directory (L1).
In addition, the grain size is always 512, but that is not a problem...

04d542c8 08/22/2013 04:35 pm Paolo Bonzini

vmdk: support vmfs files

VMware ESX hosts also use different create and extent types for flat
files, respectively "vmfs" and "VMFS". This is not documented, but it
can be found at http://kb.vmware.com/kb/10002511 (Recreating a missing
virtual machine disk (VMDK) descriptor file)....

0d51b4de 08/22/2013 03:10 pm Asias He

block: Introduce bs->zero_beyond_eof

In 4146b46c42e0989cb5842e04d88ab6ccb1713a48 (block: Produce zeros when
protocols reading beyond end of file), we break qemu-iotests ./check
-qcow2 022. This happens because qcow2 temporarily sets ->growable = 1
for vmstate accesses (which are stored beyond the end of regular image...

8ad1898c 08/21/2013 03:41 pm Kevin Wolf

qcow2: Change default for new images to compat=1.1

By the time that qemu 1.7 will be released, enough time will have passed
since qemu 1.1, which is the first version to understand version 3
images, that changing the default shouldn't hurt many people any more...

5d289cc7 08/19/2013 04:52 pm Stefan Hajnoczi

block/rbd: drop qemu_rbd_aio_flush_cb()

.io_flush() is no longer called so drop qemu_rbd_aio_flush_cb().
qemu_aio_count is unused now so drop it too.

Signed-off-by: Stefan Hajnoczi <>

d6d94c67 08/19/2013 04:52 pm Stefan Hajnoczi

block/sheepdog: drop have_co_req() and aio_flush_request()

.io_flush() is no longer called so drop have_co_req() and
aio_flush_request().

Signed-off-by: Stefan Hajnoczi <>

f0d35765 08/19/2013 04:52 pm Stefan Hajnoczi

block/ssh: drop return_true()

.io_flush() is no longer called so drop return_true().

Signed-off-by: Stefan Hajnoczi <>

f2e5dca4 08/19/2013 04:52 pm Stefan Hajnoczi

aio: drop io_flush argument

The .io_flush() handler no longer exists and has no users. Drop the
io_flush argument to aio_set_fd_handler() and related functions.

The AioFlushEventNotifierHandler and AioFlushHandler typedefs are no
longer used and are dropped too....

View revisions

Also available in: Atom