Statistics
| Branch: | Revision:

root / block @ 34b5d2c6

Name Size
Makefile.objs 916 Bytes
backup.c 11.8 kB
blkdebug.c 17.6 kB
blkverify.c 11.9 kB
bochs.c 7.1 kB
cloop.c 5.9 kB
commit.c 7.3 kB
cow.c 11 kB
curl.c 18.5 kB
dmg.c 10.4 kB
gluster.c 18.9 kB
iscsi.c 36.4 kB
linux-aio.c 5.2 kB
mirror.c 18.8 kB
nbd.c 18.8 kB
parallels.c 4.9 kB
qapi.c 16.3 kB
qcow.c 28.3 kB
qcow2-cache.c 8.7 kB
qcow2-cluster.c 52.9 kB
qcow2-refcount.c 58.8 kB
qcow2-snapshot.c 20.6 kB
qcow2.c 62.9 kB
qcow2.h 15.5 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.7 kB
qed.h 10.8 kB
raw-aio.h 1.6 kB
raw-posix.c 50.1 kB
raw-win32.c 17.1 kB
raw_bsd.c 5.8 kB
rbd.c 26.6 kB
sheepdog.c 64.2 kB
snapshot.c 8.4 kB
ssh.c 29.1 kB
stream.c 6.9 kB
vdi.c 25.2 kB
vhdx.c 30.5 kB
vhdx.h 14.8 kB
vmdk.c 55.2 kB
vpc.c 23.8 kB
vvfat.c 84.7 kB
win32-aio.c 5.7 kB

Latest revisions

# Date Author Comment
d5124c00 09/12/2013 11:12 am Max Reitz

bdrv: Use "Error" for creating images

Add an Error ** parameter to BlockDriver.bdrv_create to allow more
specific error messages.

Signed-off-by: Max Reitz <>

34b5d2c6 09/12/2013 11:12 am Max Reitz

block: Error parameter for open functions

Add an Error ** parameter to bdrv_open, bdrv_file_open and associated
functions to allow more specific error messages.

Signed-off-by: Max Reitz <>

2ea1dd75 09/12/2013 11:12 am Wenchao Xia

snapshot: new function bdrv_snapshot_find_by_id_and_name()

To make it clear about id and name in searching, add this API
to distinguish them. Caller can choose to search by id or name,
*errp will be set only for exception.

Some code are modified based on Pavel's patch....

a89d89d3 09/12/2013 11:12 am Wenchao Xia

snapshot: distinguish id and name in snapshot delete

Snapshot creation actually already distinguish id and name since it take
a structured parameter *sn, but delete can't. Later an accurate delete
is needed in qmp_transaction abort and blockdev-snapshot-delete-sync,...

015a1036 09/12/2013 11:12 am Max Reitz

bdrv: Use "Error" for opening images

Add an Error ** parameter to BlockDriver.bdrv_open and
BlockDriver.bdrv_file_open to allow more specific error messages.

Signed-off-by: Max Reitz <>

56e023af 09/12/2013 11:12 am Tal Kain

raw-win32.c: Fix incorrect handling behaviour of small block files

It is a valid case that the read data's size is smaller than the
requested size since there could be files that are smaller than
the minimum block size (For ex. when a VMDK disk descriptor file)...

e7108fea 09/12/2013 11:12 am Max Reitz

qcow2-cache: Empty cache

Add a function for emptying a cache, i.e., flushing it and marking all
elements invalid.

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

32b6444d 09/12/2013 11:12 am Max Reitz

qcow2-cluster: Expand zero clusters

Add functionality for expanding zero clusters. This is necessary for
downgrading the image version to one without zero cluster support.

For non-backed images, this function may also just discard zero clusters
instead of truly expanding them....

b6481f37 09/12/2013 11:12 am Max Reitz

qcow2: Save refcount order in BDRVQcowState

Save the image refcount order in BDRVQcowState. This will be relevant
for future code supporting different refcount orders than four and also
for code that needs to verify a certain refcount order for an opened...

9296b3ed 09/12/2013 11:12 am Max Reitz

qcow2: Implement bdrv_amend_options

Implement bdrv_amend_options for compat, size, backing_file, backing_fmt
and lazy_refcounts.

Downgrading images from compat=1.1 to compat=0.10 is achieved through
handling all incompatible flags accordingly, clearing all compatible and...

View revisions

Also available in: Atom