On 11/10/2017 02:31 PM, Max Reitz wrote: > 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 > Buglink: https://bugs.launchpad.net/qemu/+bug/1728639 > Signed-off-by: Max Reitz > --- > block/qcow2.c | 5 ++++- > tests/qemu-iotests/060 | 20 ++++++++++++++++++++ > tests/qemu-iotests/060.out | 23 +++++++++++++++++++++++ > 3 files changed, 47 insertions(+), 1 deletion(-) > Reviewed-by: Eric Blake -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org