Statistics
| Branch: | Revision:

root / block @ 2c993ec2

Name Size
blkdebug.c 12.8 kB
blkverify.c 10.5 kB
bochs.c 6.6 kB
cloop.c 4.9 kB
cow.c 8.6 kB
curl.c 14.8 kB
dmg.c 8.3 kB
nbd.c 6.9 kB
parallels.c 4.4 kB
qcow.c 29.6 kB
qcow2-cache.c 7.5 kB
qcow2-cluster.c 27.9 kB
qcow2-refcount.c 38.4 kB
qcow2-snapshot.c 13.4 kB
qcow2.c 39 kB
qcow2.h 7.9 kB
qed-check.c 5.4 kB
qed-cluster.c 5.1 kB
qed-gencb.c 688 Bytes
qed-l2-cache.c 5.4 kB
qed-table.c 8.7 kB
qed.c 43.4 kB
qed.h 10.6 kB
raw-posix-aio.h 1.3 kB
raw-posix.c 39.6 kB
raw-win32.c 11.5 kB
raw.c 3.8 kB
rbd.c 20.3 kB
sheepdog.c 52.9 kB
vdi.c 29.9 kB
vmdk.c 38.3 kB
vpc.c 18.1 kB
vvfat.c 80.6 kB

Latest revisions

# Date Author Comment
2c993ec2 08/22/2011 06:19 pm Stefan Weil

w32: Fix qemu_ftruncate64

SetFilePointer returns INVALID_SET_FILE_POINTER when it fails.
In addition, GetLastError must be checked.

The first call of SetFilePointer did not use INVALID_SET_FILE_POINTER,
the second call used wrong error handling.

Signed-off-by: Stefan Weil <>...

7267c094 08/21/2011 07:01 am Anthony Liguori

Use glib memory allocation and free functions

qemu_malloc/qemu_free no longer exist after this commit.

Signed-off-by: Anthony Liguori <>

35d7ace7 08/05/2011 03:15 pm Kevin Wolf

qcow2: Fix L1 table size after bdrv_snapshot_goto

When loading an internal snapshot whose L1 table is smaller than the current L1
table, the size of the current L1 would be shrunk to the snapshot's L1 size in
memory, but not on disk. This lead to incorrect refcount updates and eventuelly...

68d100e9 08/02/2011 04:53 pm Kevin Wolf

qcow2: Use coroutines

Signed-off-by: Kevin Wolf <>

52b8eb60 08/02/2011 04:53 pm Kevin Wolf

qcow: Use coroutines

The old qcow format is another user of the AsyncContext infrastructure.
Converting it to coroutines (and therefore CoMutexes) allows to remove
AsyncContexts.

Signed-off-by: Kevin Wolf <>

384acbf4 08/02/2011 04:53 pm Kevin Wolf

async: Remove AsyncContext

The purpose of AsyncContexts was to protect qcow and qcow2 against reentrancy
during an emulated bdrv_read/write (which includes a qemu_aio_wait() call and
can run AIO callbacks of different requests if it weren't for AsyncContexts)....

c1ee7d56 08/01/2011 01:10 pm Frediano Ziglio

raw-posix: Typo fix

Signed-off-by: Frediano Ziglio <>
Signed-off-by: Kevin Wolf <>

f6e8ffc2 08/01/2011 01:10 pm Frediano Ziglio

raw-posix: Always check paio_init result

Signed-off-by: Frediano Ziglio <>
Signed-off-by: Kevin Wolf <>

822e1cd1 08/01/2011 01:10 pm Markus Armbruster

block: Make BlockDriver method bdrv_eject() return void

Callees always return 0, except for FreeBSD's cdrom_eject(), which
returns -ENOTSUP when the device is in a terminally wedged state.

The only caller is bdrv_eject(), and it maps -ENOTSUP to 0 since...

efc8243d 08/01/2011 01:10 pm Serge E. Hallyn

block/vpc.c: Detect too-large vpc file

VHD files technically can be up to 2Tb, but virtual pc is limited
to 127G. Currently qemu-img refused to create vpc files > 127G,
but it is failing to return error when converting from a non-vpc
VHD file which is >127G. It returns success, but creates a truncated...

View revisions

Also available in: Atom