Statistics
| Branch: | Revision:

root / block @ 698f0d52

Name Size
blkdebug.c 12.8 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 4.7 kB
parallels.c 4.4 kB
qcow.c 29.9 kB
qcow2-cluster.c 26.7 kB
qcow2-refcount.c 38.5 kB
qcow2-snapshot.c 12.4 kB
qcow2.c 40.4 kB
qcow2.h 6.9 kB
raw-posix-aio.h 1.3 kB
raw-posix.c 35.6 kB
raw-win32.c 11 kB
raw.c 3.5 kB
vdi.c 29.1 kB
vmdk.c 25.4 kB
vpc.c 17.9 kB
vvfat.c 80.3 kB

Latest revisions

# Date Author Comment
327cdad4 07/02/2010 02:18 pm Kevin Wolf

blkdebug: Fix set_state_opts definition

The list head was initialized to point to the wrong list, so all actions ended
up being handled as inject-error even if they were set-state in fact.

Signed-off-by: Kevin Wolf <>

698f0d52 07/02/2010 02:18 pm Kevin Wolf

blkdebug: Free QemuOpts after having read the config

Forgetting to free them means that the next instance inherits all rules and
gets its own rules only additionally.

Signed-off-by: Kevin Wolf <>

19dbcbf7 07/02/2010 02:18 pm Kevin Wolf

qcow2: Fix error handling during metadata preallocation

People were wondering why qemu-img check failed after they tried to preallocate
a large qcow2 file and ran out of disk space.

Signed-off-by: Kevin Wolf <>

b0ad5a45 06/22/2010 03:38 pm Kevin Wolf

cow: Use bdrv_(p)write_sync for metadata writes

Use bdrv_(p)write_sync to ensure metadata integrity in case of a crash.
While at it, correct the wrong usage of errno.

Signed-off-by: Kevin Wolf <>

5e5557d9 06/22/2010 03:38 pm Kevin Wolf

qcow: Use bdrv_(p)write_sync for metadata writes

Use bdrv_(p)write_sync to ensure metadata integrity in case of a crash.

Signed-off-by: Kevin Wolf <>

8b3b7206 06/22/2010 03:38 pm Kevin Wolf

qcow2: Use bdrv_(p)write_sync for metadata writes

Use bdrv_(p)write_sync to ensure metadata integrity in case of a crash.

Signed-off-by: Kevin Wolf <>

b8852e87 06/22/2010 03:38 pm Kevin Wolf

vmdk: Use bdrv_(p)write_sync for metadata writes

Use bdrv_(p)write_sync to ensure metadata integrity in case of a crash.

Signed-off-by: Kevin Wolf <>

078a458e 06/22/2010 03:38 pm Kevin Wolf

vpc: Use bdrv_(p)write_sync for metadata writes

Use bdrv_(p)write_sync to ensure metadata integrity in case of a crash.

Signed-off-by: Kevin Wolf <>

6882c8fa 06/22/2010 03:38 pm Kevin Wolf

qcow2: Fix qemu-img check segfault on corrupted images

With corrupted images, we can easily get an cluster index that exceeds the
array size of the temporary refcount table.

Signed-off-by: Kevin Wolf <>

f74550fd 06/22/2010 03:38 pm Kevin Wolf

qcow2: Don't try to check tables that couldn't be loaded

Trying to check them leads to a second error message which is more confusing
than helpful:

Can't get refcount for cluster 0: Invalid argument
ERROR cluster 0 refcount=-22 reference=1

Signed-off-by: Kevin Wolf <>

View revisions

Also available in: Atom