From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36841) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zpem5-000210-GF for qemu-devel@nongnu.org; Fri, 23 Oct 2015 12:01:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zpem0-0002yt-9f for qemu-devel@nongnu.org; Fri, 23 Oct 2015 12:01:01 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35290) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zpem0-0002yQ-3X for qemu-devel@nongnu.org; Fri, 23 Oct 2015 12:00:56 -0400 Date: Fri, 23 Oct 2015 18:00:52 +0200 From: Kevin Wolf Message-ID: <20151023160052.GO3797@noname.redhat.com> References: <1417775209-11812-1-git-send-email-kwolf@redhat.com> <20151023153220.GI5977@stefanha-x1.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151023153220.GI5977@stefanha-x1.localdomain> Subject: Re: [Qemu-devel] [PATCH] vhdx: Return true for bdrv_has_zero_init List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: amulya.lokesha@emc.com, jcody@redhat.com, qemu-devel@nongnu.org, mreitz@redhat.com Am 23.10.2015 um 17:32 hat Stefan Hajnoczi geschrieben: > On Fri, Dec 05, 2014 at 11:26:49AM +0100, Kevin Wolf wrote: > > Like for most other image formats, vhdx images read as all zero in qemu > > after their creation (we're taking advantage from the fact that qemu has > > just created the image, because PAYLOAD_BLOCK_NOT_PRESENT actually means > > undefined rather than zeroed according to the spec). > > > > This fixes that 'qemu-img convert' to vhdx fully populates the image. > > > > Signed-off-by: Kevin Wolf > > --- > > block/vhdx.c | 1 + > > 1 file changed, 1 insertion(+) > > Reviewed-by: Stefan Hajnoczi Hasn't this been implemented in commit 85b712c9 almost a year ago? Kevin