From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:32817) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUHO4-0000SK-PN for qemu-devel@nongnu.org; Mon, 22 Apr 2013 10:06:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UUHO3-00031d-BH for qemu-devel@nongnu.org; Mon, 22 Apr 2013 10:06:32 -0400 Received: from mail-wi0-x235.google.com ([2a00:1450:400c:c05::235]:37509) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUHO2-00031N-Tj for qemu-devel@nongnu.org; Mon, 22 Apr 2013 10:06:31 -0400 Received: by mail-wi0-f181.google.com with SMTP id c10so4439223wiw.8 for ; Mon, 22 Apr 2013 07:06:29 -0700 (PDT) Date: Mon, 22 Apr 2013 16:06:27 +0200 From: Stefan Hajnoczi Message-ID: <20130422140627.GH21317@stefanha-thinkpad.redhat.com> References: <1366596479-22212-1-git-send-email-famz@redhat.com> <1366596479-22212-4-git-send-email-famz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1366596479-22212-4-git-send-email-famz@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 3/5] vmdk: Add option to create zeroed-grain image List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: kwolf@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com On Mon, Apr 22, 2013 at 10:07:57AM +0800, Fam Zheng wrote: > Add image create option "zeroed-grain" to enable zeroed-grain GTE > feature of vmdk sparse extents. When this option is on, header version > of newly created extent will be 2 and VMDK4_FLAG_ZG flag bit will be > set. > Signed-off-by: Fam Zheng > --- > block/vmdk.c | 22 +++++++++++++++++----- > 1 file changed, 17 insertions(+), 5 deletions(-) Is there a way to upgrade an image file to use zeroed-grain GTEs once the file has been created? Stefan