Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K1ILY-0004eQ-Ei for qemu-devel@nongnu.org; Wed, 28 May 2008 05:53:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K1ILW-0004dr-CF for qemu-devel@nongnu.org; Wed, 28 May 2008 05:53:27 -0400 Received: from [199.232.76.173] (port=43795 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1ILV-0004dl-RX for qemu-devel@nongnu.org; Wed, 28 May 2008 05:53:25 -0400 Received: from smtp02.citrix.com ([66.165.176.63]:63936) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K1ILV-0004VK-6F for qemu-devel@nongnu.org; Wed, 28 May 2008 05:53:25 -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 m4S9rD8p011243 for ; Wed, 28 May 2008 02:53:14 -0700 Received: from iwj by mariner.uk.xensource.com with local (Exim 4.63) (envelope-from ) id 1K1ILF-0006F8-Re for qemu-devel@nongnu.org; Wed, 28 May 2008 10:53:09 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18493.11141.847907.619324@mariner.uk.xensource.com> Date: Wed, 28 May 2008 10:53:09 +0100 Subject: Re: [Qemu-devel] [RFC] Allow 'qemu-img convert' to preserve the backing file In-Reply-To: References: 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 Marc Bevand writes: > Currently if qemu-img convert is used to convert for example a qcow1 > image (with a backing file) to a qcow2 image, the resulting image > will have no backing file. This kind of thing ought to be discussed with qemu upstream too, surely ? Perhaps even implemented there first. > 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. 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. Ian.