Statistics
| Branch: | Revision:

root / block @ 08448d51

Name Size
Makefile.objs 751 Bytes
blkdebug.c 13 kB
blkverify.c 10 kB
bochs.c 7 kB
cloop.c 5.8 kB
commit.c 7.2 kB
cow.c 9.5 kB
curl.c 16.2 kB
dmg.c 8.7 kB
gluster.c 17 kB
iscsi.c 28.8 kB
linux-aio.c 5.5 kB
mirror.c 10 kB
nbd.c 16.3 kB
parallels.c 4.8 kB
qcow.c 27.2 kB
qcow2-cache.c 7.8 kB
qcow2-cluster.c 35.4 kB
qcow2-refcount.c 39.8 kB
qcow2-snapshot.c 18.6 kB
qcow2.c 50.6 kB
qcow2.h 10.3 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 45.9 kB
qed.h 10.8 kB
raw-aio.h 1.5 kB
raw-posix.c 45.7 kB
raw-win32.c 15.2 kB
raw.c 3.9 kB
rbd.c 24.5 kB
sheepdog.c 54.4 kB
stream.c 6.7 kB
vdi.c 24.3 kB
vmdk.c 48.6 kB
vpc.c 22.6 kB
vvfat.c 81.6 kB
win32-aio.c 6.1 kB

Latest revisions

# Date Author Comment
08448d51 11/21/2012 10:43 am Stefan Priebe

use int64_t for return values from rbd instead of int

rbd / rados tends to return pretty often length of writes
or discarded blocks. These values might be bigger than int.

The steps to reproduce are:

mkfs.xfs -f a whole device bigger than int in bytes. mkfs.xfs sends...
1bc6b705 11/21/2012 10:40 am Jeff Cody

block: add bdrv_reopen() support for raw hdev, floppy, and cdrom

For hdev, floppy, and cdrom, the reopen() handlers are the same as
for the file reopen handler. For floppy and cdrom types, however,
we keep O_NONBLOCK, as in the _open function.

Signed-off-by: Jeff Cody <>...

8ba2aae3 11/21/2012 10:40 am Stefan Hajnoczi

vdi: don't override libuuid symbols

It's poor symbol hygiene to provide a global symbols that collide with a
common library like libuuid. If QEMU links against a shared library
that depends on uuid_generate() it can end up calling our stub version
of the function....

b1649fae 11/14/2012 07:19 pm Gerhard Wiesinger

vmdk: Fix data corruption bug in WRITE and READ handling

Fixed a MAJOR BUG in VMDK files on file boundaries on reads
and ALSO ON WRITES WHICH MIGHT CORRUPT THE IMAGE AND DATA!!!!!!

Triggered for example with the following VMDK file (partly listed):
RW 4193792 FLAT "XP-W1-f001.vmdk" 0...

a3548077 11/14/2012 07:19 pm Kevin Wolf

qcow2: Fix refcount table size calculation

A missing factor for the refcount table entry size in the calculation
could mean that too little memory was allocated for the in-memory
representation of the table, resulting in a buffer overflow.

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

cee40d2d 11/14/2012 07:19 pm Stefan Weil

block: Workaround for older versions of MinGW gcc

Versions before gcc-4.6 don't support unnamed fields in initializers
(see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10676).

Offset and OffsetHigh belong to an unnamed struct which is part of an
unnamed union. Therefore the original code does not work with older...

d7331bed 11/14/2012 07:19 pm Stefan Hajnoczi

aio: rename AIOPool to AIOCBInfo

Now that AIOPool no longer keeps a freelist, it isn't really a "pool"
anymore. Rename it to AIOCBInfo and make it const since it no longer
needs to be modified.

Signed-off-by: Stefan Hajnoczi <>
Signed-off-by: Kevin Wolf <>

1d7d2a9d 11/12/2012 03:38 pm Paolo Bonzini

nbd: accept URIs

The URI syntax is consistent with the Gluster syntax. Export names
are specified in the path, preceded by one or more (otherwise unused)
slashes.

Signed-off-by: Paolo Bonzini <>

d04b0bbb 11/12/2012 12:33 pm Paolo Bonzini

nbd: accept relative path to Unix socket

Adding the "is_unix" member now will simplify the parsing of NBD URIs.

Signed-off-by: Paolo Bonzini <>

f563a5d7 10/31/2012 11:42 am Paolo Bonzini

Merge remote-tracking branch 'origin/master' into threadpool

Signed-off-by: Paolo Bonzini <>

View revisions

Also available in: Atom