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
..
2010-01-11 13:41:00 -06:00
2010-01-26 15:42:02 -06:00
2010-02-23 13:23:29 -06:00
2010-02-10 11:56:57 -06:00
2010-01-26 15:42:02 -06:00
2009-09-09 14:57:20 -05:00