From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50336) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoUFz-0006xM-48 for qemu-devel@nongnu.org; Fri, 08 Apr 2016 07:07:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aoUFy-00017l-9D for qemu-devel@nongnu.org; Fri, 08 Apr 2016 07:07:19 -0400 Date: Fri, 8 Apr 2016 13:07:11 +0200 From: Kevin Wolf Message-ID: <20160408110711.GC4700@noname.redhat.com> References: <1459268657-14181-1-git-send-email-mreitz@redhat.com> <5707882F.9020501@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5707882F.9020501@redhat.com> Subject: Re: [Qemu-devel] [PATCH] iotests: Make 150 use qemu-img map instead of du List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Max Reitz , qemu-block@nongnu.org, qemu-devel@nongnu.org Am 08.04.2016 um 12:30 hat Paolo Bonzini geschrieben: > > > On 29/03/2016 18:24, Max Reitz wrote: > > The actual on-disk size of a file does not only depend on factors qemu > > can control. Thus, we should not depend on this to determine whether a > > file has indeed been fully allocated. Instead, use qemu-img map and hope > > that if an area is referenced, it is indeed allocated, too. > > > > Also, limit the supported image formats to raw and qcow2 because the > > actual qemu-img map output may depend on the image format. > > > > Signed-off-by: Max Reitz > > Tested-by: Paolo Bonzini Thanks, applied to the block branch. Kevin