From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:45144) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qa1hQ-0007i6-4l for qemu-devel@nongnu.org; Fri, 24 Jun 2011 04:25:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qa1hO-0002ln-Bk for qemu-devel@nongnu.org; Fri, 24 Jun 2011 04:25:11 -0400 Received: from mail-pv0-f173.google.com ([74.125.83.173]:59592) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qa1hN-0002lB-Rc for qemu-devel@nongnu.org; Fri, 24 Jun 2011 04:25:10 -0400 Received: by pvg3 with SMTP id 3so1665629pvg.4 for ; Fri, 24 Jun 2011 01:25:08 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1308903507-10799-1-git-send-email-famcool@gmail.com> References: <1308903507-10799-1-git-send-email-famcool@gmail.com> From: Fam Zheng Date: Fri, 24 Jun 2011 16:24:28 +0800 Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v2 00/12] Adding VMDK monolithic flat support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, Fam Zheng , hch@lst.de, stefanha@gmail.com On Fri, Jun 24, 2011 at 4:18 PM, wrote: > From: Fam Zheng > > VMDK multiple file images can not be recognized for now. This patch serie= s is > adding monolithic flat support to it, that is the image type with two > files, one text descriptor file and a plain data file. This type of > image can be created in VMWare, with the options "allocate all disk > space now" and "store virtual disk as a single file" checked. > > A VmdkExtent structure is introduced to hold the image "extent" > information, which makes further adding multi extents support of VMDK > easy. An image creating option "flat" is added for creating flat > (preallocated) image. Oops, this comment is obsolete, the flag is adjusted to a string option "format". See patch [10/12]. > > Fam Zheng (12): > =C2=A0VMDK: introduce VmdkExtent > =C2=A0VMDK: bugfix, align offset to cluster in get_whole_cluster > =C2=A0VMDK: probe for monolithicFlat images > =C2=A0VMDK: separate vmdk_open by format version > =C2=A0VMDK: add field BDRVVmdkState.desc_offset > =C2=A0VMDK: flush multiple extents > =C2=A0VMDK: move 'static' cid_update flag to bs field > =C2=A0VMDK: change get_cluster_offset return type > =C2=A0VMDK: open/read/write for monolithicFlat image > =C2=A0VMDK: create different subformats > =C2=A0VMDK: fix coding style > =C2=A0BlockDriver: add bdrv_get_allocated_file_size() operation > > =C2=A0block.c =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 19 + > =C2=A0block.h =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A01 + > =C2=A0block/raw-posix.c | =C2=A0 21 + > =C2=A0block/raw-win32.c | =C2=A0 29 ++ > =C2=A0block/vmdk.c =C2=A0 =C2=A0 =C2=A0| 1360 +++++++++++++++++++++++++++= ++++++++++---------------- > =C2=A0block_int.h =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A02 + > =C2=A0qemu-img.c =C2=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A0 31 +-- > =C2=A07 files changed, 1026 insertions(+), 437 deletions(-) > > --=20 Best regards! Fam Zheng