qemu/block
Kevin Wolf 6f745bdaac qcow2: Fix image creation regression
When checking for errors, commit db89119d compares with the wrong values,
failing image creation even when there was no error. Additionally, if an
error has occured, we can't preallocate the image (it's likely broken).

This unbreaks test 023 of qemu-iotests.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2010-02-23 13:23:29 -06:00
..
bochs.c Read-only device changed to opens it's file for read-only. 2010-01-26 15:42:01 -06:00
cloop.c Move block drivers into their own directory 2009-05-14 16:13:46 -05:00
cow.c block/cow.c: fix warnings with _FORTIFY_SOURCE 2010-01-26 14:59:20 -06:00
curl.c don't dereference NULL after failed strdup 2010-02-10 14:00:53 -06:00
dmg.c dmg: fix ->open failure 2010-01-11 13:41:00 -06:00
nbd.c block: kill BDRV_O_CREAT 2010-01-26 15:42:02 -06:00
parallels.c Read-only device changed to opens it's file for read-only. 2010-01-26 15:42:01 -06:00
qcow2-cluster.c qcow2: Fix access after end of array 2010-02-19 15:53:54 -06:00
qcow2-refcount.c qcow2: More checks for qemu-img check 2010-02-23 13:23:29 -06:00
qcow2-snapshot.c qcow2: Don't ignore qcow2_alloc_clusters return value 2010-01-26 14:59:19 -06:00
qcow2.c qcow2: Fix image creation regression 2010-02-23 13:23:29 -06:00
qcow2.h qcow2: Fix signedness bugs 2010-02-10 11:56:57 -06:00
qcow.c block/qcow.c: fix warnings with _FORTIFY_SOURCE 2010-01-26 14:59:20 -06:00
raw-posix-aio.h Remove aio_ctx from paio_* interface 2009-10-30 08:39:34 -05:00
raw-posix.c block/raw-posix: Abort on pread beyond end of non-growable file 2010-01-26 16:41:07 -06:00
raw-win32.c block: kill BDRV_O_CREAT 2010-01-26 15:42:02 -06:00
vdi.c block/vdi: allow disk sizes not multiple of block size 2010-01-08 09:58:40 -06:00
vmdk.c block/vmdk.o: fix warnings with _FORTIFY_SOURCE 2010-01-26 14:59:20 -06:00
vpc.c Fix spelling in comment. 2009-09-09 14:57:20 -05:00
vvfat.c don't dereference NULL after failed strdup 2010-02-10 14:00:53 -06:00