From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=53285 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OQiq3-0005VI-62 for qemu-devel@nongnu.org; Mon, 21 Jun 2010 11:23:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OQipz-0007NB-4x for qemu-devel@nongnu.org; Mon, 21 Jun 2010 11:23:07 -0400 Received: from mail.codesourcery.com ([38.113.113.100]:54846) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OQipy-0007Mv-QR for qemu-devel@nongnu.org; Mon, 21 Jun 2010 11:23:03 -0400 From: Paul Brook Subject: Re: [Qemu-devel] Re: block: format vs. protocol, and how they stack Date: Mon, 21 Jun 2010 16:22:59 +0100 References: <4C1F7C6B.3040602@codemonkey.ws> <20100621150058.GA14072@lst.de> In-Reply-To: <20100621150058.GA14072@lst.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201006211622.59415.paul@codesourcery.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Christoph Hellwig , Markus Armbruster , Luiz Capitulino , Gerd Hoffmann , Christoph Hellwig , Avi Kivity > The user basically can specify two things: > > - a transport protocol. Normally this is just the filesystem > interface, but it can also be nbd, http or for really sick people > vvfat. This is a setting which can't be guessed, btw - it needs > to be explicitly set in some way, with file used as a reasonable > fallback. > > - an image format. This one interprets the content the transport > protocol delivers to us. This can either be raw for not interpreting > it all, or things like qcow2 / vmdk to add more functionality to it. Makes sense to me. In theory we should be able to stack image formats. In practice it's probably not very useful with the current set of formats, so may not be worth the hassle. The best way to implement it may be to add a "blockdev" transport. Paul