« Previous | Next » 

Revision 6f745bda

ID6f745bdaac26bcbdd7e2ffa2a6ea29aabbbc54e1

Added by Kevin Wolf about 14 years ago

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 <>
Signed-off-by: Anthony Liguori <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences