From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:34235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSeuY-0000HF-EI for qemu-devel@nongnu.org; Fri, 03 Jun 2011 20:40:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QSeuW-0001vh-RD for qemu-devel@nongnu.org; Fri, 03 Jun 2011 20:40:17 -0400 Received: from mail-px0-f174.google.com ([209.85.212.174]:60810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSeuW-0001v9-G3 for qemu-devel@nongnu.org; Fri, 03 Jun 2011 20:40:16 -0400 Received: by pxi15 with SMTP id 15so1603632pxi.33 for ; Fri, 03 Jun 2011 17:40:14 -0700 (PDT) MIME-Version: 1.0 From: Fam Zheng Date: Sat, 4 Jun 2011 08:39:54 +0800 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: [Qemu-devel] [PATCH 0/12] Adding VMDK monolithic flat support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Stefan Hajnoczi , Christoph Hellwig This is a split patch series of the previous monolithic flat support version, with improvements according to Kevin's comments. Original comment: VMDK multiple file images can not be recognized for now. This patch 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. --- block/vmdk.c | 908 +++++++++++++++++++++++++++++++++++++++++----------------- block_int.h | 2 + qemu-img.c | 6 +- 3 files changed, 649 insertions(+), 267 deletions(-)