Statistics
| Branch: | Revision:

root / block @ 2c17449b

Name Size
Makefile.objs 967 Bytes
backup.c 12.1 kB
blkdebug.c 19.9 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 19.9 kB
dmg.c 10.4 kB
gluster.c 19.5 kB
iscsi.c 41.6 kB
linux-aio.c 5.2 kB
mirror.c 22.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.1 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.3 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.2 kB
raw-win32.c 18.8 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 62.4 kB
vpc.c 24.7 kB
vvfat.c 84.9 kB
win32-aio.c 5.7 kB

Latest revisions

# Date Author Comment
55aff7f1 01/31/2014 11:05 pm Jeff Cody

block: remove QED .bdrv_make_empty implementation

The QED .bdrv_make_empty() implementation does nothing but return
-ENOTSUP, which causes problems in bdrv_commit(). Since the function
stub exists for QED, it is called, which then always returns an error....

14b4a8b9 01/31/2014 11:05 pm Jeff Cody

block: remove qcow2 .bdrv_make_empty implementation

The QCOW2 .bdrv_make_empty implementation always returns 0 for success,
but does not actually do anything.

The proper way to not support an optional driver function stub is to
just not implement it, so let's remove the stub....

f43aa8e1 01/31/2014 11:05 pm Peter Lieven

block/vmdk: add basic .bdrv_check support

this adds a basic vmdk corruption check. it should detect severe
table corruptions and file truncation.

Signed-off-by: Peter Lieven <>
Reviewed-by: Fam Zheng <>
Signed-off-by: Stefan Hajnoczi <>

f50159fa 01/31/2014 11:05 pm Markus Armbruster

block/vhdx: Error checking fixes

Errors are inadvertently ignored in a few places. Has always been
broken. Spotted by Coverity.

Signed-off-by: Markus Armbruster <>
Reviewed-by: Jeff Cody <>
Signed-off-by: Stefan Hajnoczi <>

e9f526ab 01/25/2014 01:50 am Anthony Liguori

Merge remote-tracking branch 'bonzini/scsi-next' into staging

  • bonzini/scsi-next:
    scsi: Support TEST UNIT READY in the dummy LUN0
    block: add .bdrv_reopen_prepare() stub for iscsi
    virtio-scsi: Prevent assertion on missed events
    virtio-scsi: Cleanup of I/Os that never started...
9e1cb96d 01/24/2014 06:40 pm Kevin Wolf

qemu-iotests: Test pwritev RMW logic

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

2c9880c4 01/24/2014 06:40 pm Paolo Bonzini

iscsi: Set bs->request_alignment

The iSCSI backend already gets the block size from the READ CAPACITY
command it sends. Save it so that the generic block layer gets it
too.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Kevin Wolf <>...

b35ee7fb 01/24/2014 06:40 pm Kevin Wolf

blkdebug: Make required alignment configurable

The new 'align' option of blkdebug can be used in order to emulate
backends with a required 4k alignment on hosts which only really require
512 byte alignment.

Signed-off-by: Kevin Wolf <>

c25f53b0 01/24/2014 06:40 pm Paolo Bonzini

raw: Probe required direct I/O alignment

Add a bs->request_alignment field that contains the required
offset/length alignment for I/O requests and fill it in the raw block
drivers. Use ioctls if possible, else see what alignment it takes for
O_DIRECT to succeed....

793ed47a 01/24/2014 06:40 pm Kevin Wolf

block: Switch BdrvTrackedRequest to byte granularity

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

View revisions

Also available in: Atom