| Branch: | Revision:

root / block @ cfd07e7a

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 5.2 kB
parallels.c 4.4 kB
qcow.c 29.9 kB
qcow2-cluster.c 27.6 kB
qcow2-refcount.c 39.2 kB
qcow2-snapshot.c 13.3 kB
qcow2.c 38 kB
qcow2.h 7 kB
raw-posix-aio.h 1.3 kB
raw-posix.c 36.3 kB
raw-win32.c 11.2 kB
raw.c 3.7 kB
sheepdog.c 51.6 kB
vdi.c 29.2 kB
vmdk.c 25.4 kB
vpc.c 18 kB
vvfat.c 80.6 kB

Latest revisions

# Date Author Comment
cfd07e7a 11/07/2010 05:10 pm Blue Swirl

Fix win32 build

Fix a return value change missed by

Signed-off-by: Blue Swirl <>

1c02e2a1 11/04/2010 02:54 pm Kevin Wolf

qcow2: Invalidate cache after failed read

The cache content may be destroyed after a failed read, better not use it any

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

a3133586 11/04/2010 02:54 pm Blue Swirl

block: avoid a warning on 64 bit hosts with long as int64_t

When building on a 64 bit host which uses 'long' for int64_t,
GCC emits a warning:
CC block/blkverify.o
/src/qemu/block/blkverify.c: In function `blkverify_verify_readv':
/src/qemu/block/blkverify.c:304: warning: long long int format, long...

205ef796 11/04/2010 01:52 pm Kevin Wolf

block: Allow bdrv_flush to return errors

This changes bdrv_flush to return 0 on success and -errno in case of failure.
It's a requirement for implementing proper error handle in users of bdrv_flush.

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

4a411185 11/04/2010 01:52 pm Kevin Wolf

vpc: Implement bdrv_flush

Signed-off-by: Kevin Wolf <>

21bcc590 10/26/2010 05:50 pm Anthony Liguori

Merge remote branch 'kwolf/for-anthony' into staging

c57c846a 10/23/2010 06:24 pm Blue Swirl

qemu-timer: move commonly used timer code to qemu-timer-common

Move timer init functions to a new file, qemu-timer-common.c. Make other
critical timer functions inlined to preserve performance in
qemu-timer.c, also move muldiv64() (used by the inline functions)...

9b036055 10/22/2010 03:49 pm Kevin Wolf

qcow2: Remove old image creation function

They have been #ifdef'd out by the previous patch.

Signed-off-by: Kevin Wolf <>

51ef6727 10/22/2010 03:49 pm edison

Copy snapshots out of QCOW2 disk

In order to backup snapshots, created from QCOW2 iamge, we want to copy snapshots out of QCOW2 disk to a seperate storage.
The following patch adds a new option in "qemu-img": qemu-img convert -f qcow2 -O qcow2 -s snapshot_name src_img bck_img....

a77cffe7 10/22/2010 03:49 pm Stefan Weil

block: Use GCC_FMT_ATTR and fix a format error

Adding the gcc format attribute detects a format bug
which is fixed here.

Don't use type cast. BDRV_SECTOR_SIZE is unsigned long long,
so %lld should be the correct format specifier.

Cc: Blue Swirl <>...

View revisions

Also available in: Atom