From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41964) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgwEL-0002aK-Vv for qemu-devel@nongnu.org; Wed, 22 Oct 2014 09:45:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgwEG-00074R-Rl for qemu-devel@nongnu.org; Wed, 22 Oct 2014 09:45:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:17490) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgwEG-00074J-Ag for qemu-devel@nongnu.org; Wed, 22 Oct 2014 09:45:32 -0400 Date: Wed, 22 Oct 2014 15:45:28 +0200 From: Kevin Wolf Message-ID: <20141022134528.GN3188@noname.str.redhat.com> References: <1413984271-15471-1-git-send-email-mreitz@redhat.com> <1413984271-15471-3-git-send-email-mreitz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <1413984271-15471-3-git-send-email-mreitz@redhat.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v2 2/3] qemu-io: Respect early image end for map List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz Cc: qemu-devel@nongnu.org, Stefan Hajnoczi , =?iso-8859-1?Q?Beno=EEt?= Canet Am 22.10.2014 um 15:24 hat Max Reitz geschrieben: > bdrv_is_allocated() may report zero clusters which most probably means > the image (file) is shorter than expected. Respect this case in order t= o > avoid an infinite loop. >=20 > Signed-off-by: Max Reitz > Reviewed-by: Eric Blake > Reviewed-by: Beno=EEt Canet Reviewed-by: Kevin Wolf