Statistics
| Branch: | Revision:

root / block @ c8059b97

Name Size
Makefile.objs 967 Bytes
backup.c 11.9 kB
blkdebug.c 19 kB
blkverify.c 11.8 kB
bochs.c 7.1 kB
cloop.c 5.9 kB
commit.c 7.1 kB
cow.c 12.1 kB
curl.c 18.5 kB
dmg.c 10.4 kB
gluster.c 19.5 kB
iscsi.c 41 kB
linux-aio.c 5.2 kB
mirror.c 21.1 kB
nbd-client.c 11 kB
nbd-client.h 1.4 kB
nbd.c 10.4 kB
parallels.c 4.9 kB
qapi.c 20.4 kB
qcow.c 28.4 kB
qcow2-cache.c 8.6 kB
qcow2-cluster.c 54.1 kB
qcow2-refcount.c 58.6 kB
qcow2-snapshot.c 21.1 kB
qcow2.c 70.6 kB
qcow2.h 16.4 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 47.1 kB
qed.h 10.8 kB
raw-aio.h 1.6 kB
raw-posix.c 56.3 kB
raw-win32.c 17.5 kB
raw_bsd.c 6.1 kB
rbd.c 24.3 kB
sheepdog.c 69.5 kB
snapshot.c 10.7 kB
ssh.c 29.1 kB
stream.c 7 kB
vdi.c 25.2 kB
vhdx-endian.c 5.2 kB
vhdx-log.c 28.9 kB
vhdx.c 62.5 kB
vhdx.h 19.1 kB
vmdk.c 60.7 kB
vpc.c 24.7 kB
vvfat.c 84.9 kB
win32-aio.c 5.7 kB

Latest revisions

# Date Author Comment
c8059b97 01/24/2014 03:33 pm Fam Zheng

qapi: Add "backing" to BlockStats

Currently there is no way to query BlockStats of the backing chain. This
adds "backing" field into BlockStats to make it possible.

The comment of "parent" is reworded.

Signed-off-by: Fam Zheng <>
Reviewed-by: Benoit Canet <>...

46bae927 01/24/2014 03:33 pm Hu Tao

qcow2: fix wrong value of L1E_OFFSET_MASK, L2E_OFFSET_MASK and REFT_OFFSET_MASK

Accoring to qcow spec, the offset fields in l1e, l2e and ref table entry
start at bit 9. The offset is cluster offset, and the smallest possible
cluster size is 512 bytes.

Signed-off-by: Hu Tao <>...

34ceed81 01/24/2014 03:33 pm Fam Zheng

vmdk: Check for overhead when opening

Report an error if file size is even smaller than metadata.

Signed-off-by: Fam Zheng <>
Signed-off-by: Kevin Wolf <>

9cd76737 01/24/2014 03:33 pm Liu Yuan

sheepdog: fix 'qemu-img map'

It was muted in the previous commit 4bc74be9. Let's revive it since nothing
prevents us to do it.

With this patch, following command will work as other formats:

$ qemu-img map sheepdog:image

Cc:
Cc: Kevin Wolf <>...

6df3bf8e 01/24/2014 03:33 pm Zhang Min

drive mirror:fix memory leak

In the function mirror_iteration() > qemu_iovec_init(),
it allocates memory for op
>qiov.iov, when the write request calls back,
but in the function mirror_iteration_done(), it only frees the op,
not free the op->qiov.iov, so this causes memory leak....

d8a7b061 01/24/2014 03:33 pm Fam Zheng

vmdk: Fix format specific information (create type) for streamOptimized

Previously the field is wrong:

$ ./qemu-img create -f vmdk -o subformat=streamOptimized /tmp/a.vmdk 1G
$ ./qemu-img info /tmp/a.vmdk
image: /tmp/a.vmdk
file format: vmdk...
4373593d 01/22/2014 01:07 pm Max Reitz

blkdebug: Allow command-line file configuration

Introduce the "image" option as an alternative to specifying the image
through the filename.

Signed-off-by: Max Reitz <>
Signed-off-by: Kevin Wolf <>

70b6198a 01/22/2014 01:07 pm Max Reitz

blkverify: Allow command-line configuration

Introduce the "test" and "raw" options for specifying images.

Signed-off-by: Max Reitz <>
Signed-off-by: Kevin Wolf <>

22511ad6 01/22/2014 01:07 pm Max Reitz

blkverify: Don't require protocol filename

If the filename is not prefixed by "blkverify:" in
blkverify_parse_filename(), the blkverify driver was not selected
through that protocol prefix, but by an explicit command line (or QMP)
option (like driver=blkverify)....

72daa72e 01/22/2014 01:07 pm Max Reitz

block: Allow reference for bdrv_file_open()

Allow specifying a reference to an existing block device (by name) for
bdrv_file_open() instead of a filename and/or options.

Signed-off-by: Max Reitz <>
Reviewed-by: Kevin Wolf <>...

View revisions

Also available in: Atom