Re: [Qemu-devel] [PATCH v3 0/3] block: Fix is_allocated() for truncated images

2014-10-22 Thread Kevin Wolf
Am 22.10.2014 um 17:00 hat Max Reitz geschrieben: > Patch 2: > The bdrv_is_allocated() functions may return a number of zero sectors > e.g. if a sector beyond the image end has been queried. Respect this > case in qemu-io's map implementation so it doesn't run into an infinite > loop (https://bugs.

[Qemu-devel] [PATCH v3 0/3] block: Fix is_allocated() for truncated images

2014-10-22 Thread Max Reitz
Patch 2: The bdrv_is_allocated() functions may return a number of zero sectors e.g. if a sector beyond the image end has been queried. Respect this case in qemu-io's map implementation so it doesn't run into an infinite loop (https://bugs.launchpad.net/qemu/+bug/1356969). Patch 1: In that bug repo