Statistics
| Branch: | Revision:

root / block @ ddf5636d

Name Size
Makefile.objs 1003 Bytes
backup.c 12.1 kB
blkdebug.c 20 kB
blkverify.c 11.9 kB
bochs.c 7.1 kB
cloop.c 5.9 kB
commit.c 7.1 kB
cow.c 12.1 kB
curl.c 19.9 kB
dmg.c 10.4 kB
gluster.c 19.5 kB
iscsi.c 41.9 kB
linux-aio.c 5.2 kB
mirror.c 22.4 kB
nbd-client.c 11 kB
nbd-client.h 1.4 kB
nbd.c 10.4 kB
nfs.c 11.7 kB
parallels.c 4.9 kB
qapi.c 20.1 kB
qcow.c 28.4 kB
qcow2-cache.c 8.6 kB
qcow2-cluster.c 54.6 kB
qcow2-refcount.c 58.7 kB
qcow2-snapshot.c 21.2 kB
qcow2.c 70.4 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 58.1 kB
raw-win32.c 18.8 kB
raw_bsd.c 6.2 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 62.5 kB
vpc.c 24.7 kB
vvfat.c 84.8 kB
win32-aio.c 5.7 kB

Latest revisions

# Date Author Comment
ddf5636d 02/21/2014 10:02 pm Max Reitz

block: Add reference parameter to bdrv_open()

Allow bdrv_open() to handle references to existing block devices just as
bdrv_file_open() is already capable of.

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

a71835a0 02/21/2014 10:02 pm Kevin Wolf

qcow2: Set zero flag for discarded clusters

Instead of making the backing file contents visible again after a discard
request, set the zero flag if possible (i.e. on version >= 3).

Signed-off-by: Kevin Wolf <>
Reviewed-by: Eric Blake <>

f67503e5 02/21/2014 10:02 pm Max Reitz

block: Change BDS parameter of bdrv_open() to **

Make bdrv_open() take a pointer to a BDS pointer, similarly to
bdrv_file_open(). If a pointer to a NULL pointer is given, bdrv_open()
will create a new BDS with an empty name; if the BDS pointer is not
NULL, that existing BDS will be reused (in the same way as bdrv_open()...

4c0c9bbe 02/20/2014 02:10 pm Peter Maydell

Merge remote-tracking branch 'remotes/qmp-unstable/queue/qmp' into staging

  • remotes/qmp-unstable/queue/qmp:
    monitor: Add object_add class argument completion.
    monitor: Add object_del id argument completion.
    monitor: Add device_add device argument completion....
84d18f06 02/17/2014 06:57 pm Markus Armbruster

Use error_is_set() only when necessary

error_is_set(&var) is the same as var != NULL, but it takes
whole-program analysis to figure that out. Unnecessarily hard for
optimizers, static checkers, and human readers. Dumb it down to
obvious.

Gets rid of several dozen Coverity false positives....

cc67f4d1 02/14/2014 07:05 pm Jeff Cody

block: mirror - use local_err to avoid NULL errp

When starting a block job, commit_active_start() relies on whether *errp
is set by mirror_start_job. This allows it to determine if the mirror
job start failed, so that it can clean up any changes to open flags from...

39a611a3 02/14/2014 07:05 pm Jeff Cody

block: Don't throw away errno via error_setg

There are a handful of places in the block layer where a failure path
has a valid -errno value, yet error_setg() is used. Those instances
should instead use error_setg_errno(), to preserve as much error
information as possible....

28f106af 02/14/2014 02:38 pm Jeff Cody

block: Add notes to iSCSI's .bdrv_open and .bdrv_reopen_prepare

iSCSI currently does not need to do any actions to support the
current usage of bdrv_reopen(). However, it is important to note
a couple of things: 1.) A connection will not be re-established to...

ad6aef43 02/09/2014 10:12 am Kevin Wolf

raw: Fix BlockLimits passthrough

raw copies over the BlockLimits of bs->file during bdrv_open().
However, since commit d34682cd it is immediately overwritten during
bdrv_refresh_limits(). This caused all fields except for
opt_transfer_length and opt_mem_alignment (which happen to be correctly...

eaf944a4 02/09/2014 10:12 am Kevin Wolf

blkdebug: Don't leak bs->file on failure

Reported-by: Laszlo Ersek <>
Signed-off-by: Kevin Wolf <>
Reviewed-by: Laszlo Ersek <>

View revisions

Also available in: Atom