Statistics
| Branch: | Revision:

root / include / block @ dc364f4c

Name Size
aio.h 9 kB
block.h 21.9 kB
block_int.h 18.9 kB
blockjob.h 8.2 kB
coroutine.h 6 kB
coroutine_int.h 1.9 kB
nbd.h 3.3 kB
qapi.h 2.1 kB
scsi.h 10.7 kB
snapshot.h 3.3 kB
thread-pool.h 1.1 kB

Latest revisions

# Date Author Comment
dc364f4c 01/24/2014 03:33 pm Benoît Canet

block: Add bs->node_name to hold the name of a bs node of the bs graph.

Add the minimum of code to prepare for the following patches.

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

da557aac 01/22/2014 01:07 pm Max Reitz

block: Add bdrv_open_image()

Add a common function for opening images to be used for block drivers
specified through BlockdevRefs in an option QDict. The difference from
bdrv_file_open() is that this function may invoke bdrv_open() instead,
allowing auto-detection of the driver to be used; and second, it...

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 <>...

03544a6e 12/20/2013 05:26 pm Fam Zheng

block: Add commit_active_start()

commit_active_start is implemented in block/mirror.c, It will create a
job with "commit" type and designated base in block-commit command. This
will be used for committing active layer of device.

Sync mode is removed from MirrorBlockJob because there's no proper type...

7337acaf 12/05/2013 12:45 pm Peter Lieven

block: add opt_transfer_length to BlockLimits

Reviewed-by: Paolo Bonzini <>
Signed-off-by: Peter Lieven <>
Signed-off-by: Stefan Hajnoczi <>

7b4c4781 12/04/2013 04:19 pm Wenchao Xia

snapshot: distinguish id and name in load_tmp

Since later this function will be used so improve it. The only caller of it
now is qemu-img, and it is not impacted by introduce function
bdrv_snapshot_load_tmp_by_id_or_name() that call bdrv_snapshot_load_tmp()...

8c116b0e 12/04/2013 04:19 pm Wenchao Xia

qemu-nbd: support internal snapshot export

Now it is possible to directly export an internal snapshot, which
can be used to probe the snapshot's contents without qemu-img
convert.

Signed-off-by: Wenchao Xia <>
Signed-off-by: Stefan Hajnoczi <>

d5ef94d4 12/03/2013 04:26 pm Paolo Bonzini

block: add bdrv_aio_write_zeroes

This will be used by the SCSI layer.

Signed-off-by: Paolo Bonzini <>
Reviewed-by: Peter Lieven <>
Signed-off-by: Stefan Hajnoczi <>

d20d9b7c 12/03/2013 04:26 pm Paolo Bonzini

block: add flags to BlockRequest

This lets bdrv_co_do_rw receive flags, so that it can be used for
zero writes.

Signed-off-by: Paolo Bonzini <>
Reviewed-by: Peter Lieven <>
Signed-off-by: Stefan Hajnoczi <>

7b6b145d 12/02/2013 06:11 pm Marc-André Lureau

coroutine: remove unused CoQueue AioContext

The AioContext ctx field is apparently unused in qemu codebase since
02ffb504485.

Signed-off-by: Marc-André Lureau <>
Signed-off-by: Stefan Hajnoczi <>

View revisions

Also available in: Atom