Statistics
| Branch: | Revision:

root / block @ 11a5e482

Name Size
Makefile.objs 854 Bytes
blkdebug.c 17.3 kB
blkverify.c 11.7 kB
bochs.c 7.1 kB
cloop.c 5.9 kB
commit.c 7.3 kB
cow.c 9.5 kB
curl.c 18.5 kB
dmg.c 10.3 kB
gluster.c 17.8 kB
iscsi.c 35.2 kB
linux-aio.c 5.5 kB
mirror.c 18.7 kB
nbd.c 18.7 kB
parallels.c 4.8 kB
qcow.c 27.8 kB
qcow2-cache.c 7.8 kB
qcow2-cluster.c 43.4 kB
qcow2-refcount.c 41.3 kB
qcow2-snapshot.c 18.6 kB
qcow2.c 52.6 kB
qcow2.h 12.2 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.7 kB
raw-win32.c 16.6 kB
raw.c 3.9 kB
rbd.c 26.2 kB
sheepdog.c 64.1 kB
ssh.c 28.7 kB
stream.c 6.7 kB
vdi.c 24.7 kB
vhdx.c 30.4 kB
vhdx.h 14.8 kB
vmdk.c 52.5 kB
vpc.c 23.3 kB
vvfat.c 84.5 kB
win32-aio.c 5.9 kB

Latest revisions

# Date Author Comment
ce3a4718 05/18/2013 03:35 pm Qiao Nuohan

Remove twice include of qemu-common.h

This patch is used to remove twice include of "qemu-common.h" in
block/win32-aio.c

Signed-off-by: Qiao Nuohan <>
Reviewed-by: Stefan Weil <>
Signed-off-by: Michael Tokarev <>

2cf7cfa1 05/14/2013 05:44 pm Kevin Wolf

qcow2: Catch some L1 table index overflows

This catches the situation that is described in the bug report at
https://bugs.launchpad.net/qemu/+bug/865518 and goes like this:

$ qemu-img create -f qcow2 huge.qcow2 $((1024*1024))T
Formatting 'huge.qcow2', fmt=qcow2 size=1152921504606846976 encryption=off cluster_size=65536 lazy_refcounts=off...
c7e775e4 05/12/2013 12:25 pm Dong Xu Wang

remove double semicolons

Signed-off-by: Dong Xu Wang <>
Signed-off-by: Michael Tokarev <>

cdeaf1f1 05/03/2013 11:33 am Fam Zheng

vmdk: add bdrv_co_write_zeroes

Use special offset to write zeroes efficiently, when zeroed-grain GTE is
available. If zero-write an allocated cluster, cluster is leaked because
its offset pointer is overwritten by "0x1".

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

e304e8e5 05/03/2013 11:33 am Fam Zheng

vmdk: store fields of VmdkMetaData in cpu endian

Previously VmdkMetaData.offset is stored little endian while other
fields are cpu endian. This changes offset to cpu endian and convert
before writing to image.
Signed-off-by: Fam Zheng <>
Signed-off-by: Stefan Hajnoczi <>

95b0aa42 05/03/2013 11:33 am Fam Zheng

vmdk: change magic number to macro

Two hard coded flag bits are changed to macros.
Signed-off-by: Fam Zheng <>
Signed-off-by: Stefan Hajnoczi <>

69e0b6df 05/03/2013 11:33 am Fam Zheng

vmdk: Add option to create zeroed-grain image

Add image create option "zeroed-grain" to enable zeroed-grain GTE
feature of vmdk sparse extents. When this option is on, header version
of newly created extent will be 2 and VMDK4_FLAG_ZERO_GRAIN flag bit
will be set....

14ead646 05/03/2013 11:33 am Fam Zheng

vmdk: add support for “zeroed‐grain” GTE

Introduced support for zeroed-grain GTE, as specified in Virtual Disk
Format 5.01.

Recent VMware hosted platform products support a new “zeroed‐grain”
grain table entry (GTE). The zeroed‐grain GTE returns all zeros on...
65f74725 05/03/2013 11:33 am Fam Zheng

vmdk: named return code.

Internal routines in vmdk.c previously return -1 on error and 0 on
success. More return values are useful for future changes such as
zeroed-grain GTE. Change all the magic `return 0` and `return -1` to
macro names:

  • VMDK_OK 0...
059e2fbb 05/03/2013 11:31 am Jeff Cody

block: add read-only support to VHDX image format.

This adds in read-only support to the VHDX image format. This supports
reads for fixed-size, and dynamic sized VHDX images.

Differencing files are still unsupported.

The image must be opened without BDRV_O_RDWR set, because we do not...

View revisions

Also available in: Atom