From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=44338 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OuDLO-0001HD-8E for qemu-devel@nongnu.org; Fri, 10 Sep 2010 19:49:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OuDLM-0004WH-S8 for qemu-devel@nongnu.org; Fri, 10 Sep 2010 19:49:21 -0400 Received: from terminus.zytor.com ([198.137.202.10]:57401 helo=mail.zytor.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OuDLM-0004VP-Gi for qemu-devel@nongnu.org; Fri, 10 Sep 2010 19:49:20 -0400 Message-ID: <4C8AC3EE.7060903@zytor.com> Date: Fri, 10 Sep 2010 16:49:02 -0700 From: "H. Peter Anvin" MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [RFC] qed: Add QEMU Enhanced Disk format References: <1283767478-16740-1-git-send-email-stefanha@linux.vnet.ibm.com> <4C84C213.4060005@redhat.com> <4C84E26B.4030207@codemonkey.ws> In-Reply-To: <4C84E26B.4030207@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Kevin Wolf , Stefan Hajnoczi , qemu-devel@nongnu.org On 09/06/2010 05:45 AM, Anthony Liguori wrote: >> >> Before inventing yet another image format, you certainly have checked >> the existing ones. > > Obviously, yes. > > Here are the issues: > > cow.c: it's cow of an otherwise sparse file. An important reason for > implementing a format is the ability to copy (or scp) an image without > special tools. > > qcow2.c: the refcount, cow cluster, and compression make an > implementation seeking integrity and performance challenging. > > vmdk.c: we feel it's important for qemu to have a block format with a > gpl friendly specification that we have a say in > > vhd/vpc.c: same as vmdk with the addition that the OSP is known to not > be gpl friendly > > vdi.c: uses a bitmap instead of a two level table. An advantage of a > two level table is that it allows image resize without much fuss. > > qcow.c: it lacks extensibility and compression means that there's no > guarantee that blocks are a fixed size. This makes it very difficult to > implement a high performance block format without having two separate > code paths. > Okay... how about, say, Linux LVM2 format? -hpa