From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GmTdh-0006zK-Fi for qemu-devel@nongnu.org; Tue, 21 Nov 2006 06:18:09 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GmTdd-0006v5-JT for qemu-devel@nongnu.org; Tue, 21 Nov 2006 06:18:09 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GmTdd-0006uw-Bn for qemu-devel@nongnu.org; Tue, 21 Nov 2006 06:18:05 -0500 Received: from [195.212.29.136] (helo=mtagate3.uk.ibm.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GmTdd-00038w-1s for qemu-devel@nongnu.org; Tue, 21 Nov 2006 06:18:05 -0500 Received: from d06nrmr1407.portsmouth.uk.ibm.com (d06nrmr1407.portsmouth.uk.ibm.com [9.149.38.185]) by mtagate3.uk.ibm.com (8.13.8/8.13.8) with ESMTP id kALBHpjT096754 for ; Tue, 21 Nov 2006 11:17:51 GMT Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by d06nrmr1407.portsmouth.uk.ibm.com (8.13.6/8.13.6/NCO v8.1.1) with ESMTP id kALBKe3p1359894 for ; Tue, 21 Nov 2006 11:20:40 GMT Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id kALBHnQe020381 for ; Tue, 21 Nov 2006 11:17:49 GMT Received: from [127.0.0.1] ([9.164.183.168]) by d06av02.portsmouth.uk.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id kALBHmRQ020358 for ; Tue, 21 Nov 2006 11:17:49 GMT Message-ID: <4562E05F.3050601@nl.ibm.com> Date: Tue, 21 Nov 2006 12:17:51 +0100 From: Eric Hameleers MIME-Version: 1.0 Subject: Re: [Qemu-devel] Base images References: <200611212058.52686.dvdr18@gmail.com> In-Reply-To: <200611212058.52686.dvdr18@gmail.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 David Roberts wrote: > Hi, > > I've got a couple of questions about creating images linked to base images: > - `qemu-img commit` commits changes directly to the base image. Is there a way > to create a new merged image with the changes so as not to change the > original? > - I noticed that images refer to their base image using an absolute path. Is > there a way to change an image's base image reference? (for example when the > base image is renamed / moved to a different directory) Would be nice if a command like: "qemu-img relocate -p " would be added. I have been able sometimes to hack new path names into the header of the qemu image-file but that is not an ideal solution, and it is not always possible. Eric -- Eric Hameleers RedHat Certified Engineer #808003505607683 Linux Knowledge Center, IBM Global Services