Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K1INN-00052d-4P for qemu-devel@nongnu.org; Wed, 28 May 2008 05:55:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K1INL-00051y-FL for qemu-devel@nongnu.org; Wed, 28 May 2008 05:55:20 -0400 Received: from [199.232.76.173] (port=43839 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1INL-00051r-88 for qemu-devel@nongnu.org; Wed, 28 May 2008 05:55:19 -0400 Received: from smtp02.citrix.com ([66.165.176.63]:26073) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K1INK-0004tY-Mf for qemu-devel@nongnu.org; Wed, 28 May 2008 05:55:18 -0400 Received: from mariner.uk.xensource.com ([10.80.2.22]) by smtp01.ad.xensource.com (8.13.1/8.13.1) with ESMTP id m4S9tGIx011249 for ; Wed, 28 May 2008 02:55:16 -0700 Received: from iwj by mariner.uk.xensource.com with local (Exim 4.63) (envelope-from ) id 1K1INE-0006FF-Aq for qemu-devel@nongnu.org; Wed, 28 May 2008 10:55:12 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18493.11264.309358.483993@mariner.uk.xensource.com> Date: Wed, 28 May 2008 10:55:12 +0100 Subject: Re: [Qemu-devel] [RFC] Allow 'qemu-img convert' to preserve the backing file In-Reply-To: <18493.11141.847907.619324@mariner.uk.xensource.com> References: <18493.11141.847907.619324@mariner.uk.xensource.com> From: Ian Jackson Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org I wrote: > The best way to do this will probably involve a certain amount of > restructuring of the interface to the block drivers. So definitely > something to discuss with upstream. Ignore all that. I thought I was replying to a message on the xen-devel list. Sorry, I'm very thickheaded today. Right, changing context: > Marc Bevand : > > In order to preserve the backing file (to save disk space), > > qemu-img should offer a command line option to enable the > > feature. For this it needs to be made aware of BlockDrivers > > supporting backing files. If there were a generic way to ask a block driver for a cow format what the backing image filename was, then the block driver core could do the opening itself. That would make everything a bit simpler as it would move code out of the invididual drivers. Ian.