Paolo Bonzini d663640c04 block: expect errors from bdrv_co_is_allocated
Some bdrv_is_allocated callers do not expect errors, but the fallback
in qcow2.c might make other callers trip on assertion failures or
infinite loops.

Fix the callers to always look for errors.

Cc: qemu-stable@nongnu.org
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2013-09-06 15:25:09 +02:00
..
2013-09-06 15:25:08 +02:00
2013-09-06 15:25:08 +02:00
2013-09-06 15:25:08 +02:00
2013-09-06 15:25:08 +02:00
2013-09-06 15:25:08 +02:00
2013-09-06 15:25:08 +02:00
2013-09-06 15:25:08 +02:00
2013-09-06 15:25:08 +02:00