From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46204) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhhDC-0008BR-9W for qemu-devel@nongnu.org; Tue, 06 May 2014 11:23:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WhhD6-0005fk-57 for qemu-devel@nongnu.org; Tue, 06 May 2014 11:23:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50881) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhhD5-0005fX-Tb for qemu-devel@nongnu.org; Tue, 06 May 2014 11:23:12 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s46FNALs030285 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 6 May 2014 11:23:11 -0400 Message-ID: <5368FE5A.9010904@redhat.com> Date: Tue, 06 May 2014 17:23:06 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1399383018-17797-1-git-send-email-kwolf@redhat.com> In-Reply-To: <1399383018-17797-1-git-send-email-kwolf@redhat.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] block: Fix bdrv_is_allocated() for short backing files List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf , qemu-devel@nongnu.org Cc: stefanha@redhat.com Il 06/05/2014 15:30, Kevin Wolf ha scritto: > bdrv_is_allocated() shouldn't return true for sectors that are > unallocated, but after the end of a short backing file, even though > such sectors are (correctly) marked as containing zeros. > > Signed-off-by: Kevin Wolf Nice. :) Paolo