summaryrefslogtreecommitdiff
path: root/block/qcow2-cluster.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2017-11-10 21:31:07 +0100
committerMax Reitz <mreitz@redhat.com>2017-11-17 18:21:30 +0100
commit791fff504cad4d935dfaab6333ff9b7d95cbfe3f (patch)
tree34b0d8dad955aad47c2a6882bbed8a045feaa1a8 /block/qcow2-cluster.c
parent3e3b838ffeba42eced87595b0a23dc38f7c0c21b (diff)
downloadqemu-791fff504cad4d935dfaab6333ff9b7d95cbfe3f.tar.gz
qcow2: check_errors are fatal
When trying to repair a dirty image, qcow2_check() may apparently succeed (no really fatal error occurred that would prevent the check from continuing), but if check_errors in the result object is non-zero, we cannot trust the image to be usable. Reported-by: R. Nageswara Sastry <nasastry@in.ibm.com> Buglink: https://bugs.launchpad.net/qemu/+bug/1728639 Signed-off-by: Max Reitz <mreitz@redhat.com> Message-id: 20171110203111.7666-2-mreitz@redhat.com Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block/qcow2-cluster.c')
0 files changed, 0 insertions, 0 deletions