From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43775) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlGWl-0001Kh-Jg for qemu-devel@nongnu.org; Mon, 03 Nov 2014 07:14:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XlGWf-0007c2-DP for qemu-devel@nongnu.org; Mon, 03 Nov 2014 07:14:31 -0500 Received: from mx1.redhat.com ([209.132.183.28]:48870) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlGWf-0007bw-6W for qemu-devel@nongnu.org; Mon, 03 Nov 2014 07:14:25 -0500 Date: Mon, 3 Nov 2014 13:14:21 +0100 From: Kevin Wolf Message-ID: <20141103121421.GE4437@noname.str.redhat.com> References: <201411032004120698212@sangfor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201411032004120698212@sangfor.com> Subject: Re: [Qemu-devel] [question] updating the base image for all clones which have been running for months List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Zhang Haoyu Cc: Stefan Hajnoczi , qemu-devel , kvm Am 03.11.2014 um 13:04 hat Zhang Haoyu geschrieben: > Hi, all > > I used base image A to clone so many vm, > after running for months, each vm has its own private applications and data, > which maybe different from each other. > Now, I want to install some applications for all of the clones, > what should I do? Install the applications on each clone separately, or use some other method to make it available (like installing on a shared network resource). > Can I rebase image A to B which have the applications to be installed, > then change the base image to B for all clones? The problem is that rebase works on the block level, not on the file system level. Changing the backing file won't produce a correctly working guest, it causes file system corruption. Kevin