user avatar
qcow2: Flushing the caches in qcow2_close may fail
Max Reitz authored
qcow2_cache_flush() may fail; if one of the caches failed to be flushed
successfully to disk in qcow2_close() the image should not be marked
clean, and we should emit a warning.

This breaks the (qcow2-specific) iotests 026, 071 and 089; change their
output accordingly.

Cc: qemu-stable@nongnu.org
Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
Reviewed-by: default avatarKevin Wolf <kwolf@redhat.com>
Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
(cherry picked from commit 3b5e14c7

)
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
0505d48c
Name Last commit Last update