From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45695) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0x8S-0005aZ-4o for qemu-devel@nongnu.org; Wed, 08 Jan 2014 12:41:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W0x8N-0004Lp-UD for qemu-devel@nongnu.org; Wed, 08 Jan 2014 12:41:44 -0500 Received: from mx1.redhat.com ([209.132.183.28]:38365) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0x8N-0004Lk-Lh for qemu-devel@nongnu.org; Wed, 08 Jan 2014 12:41:39 -0500 Date: Wed, 8 Jan 2014 17:41:30 +0000 From: "Richard W.M. Jones" Message-ID: <20140108174130.GA13802@redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] QEMU detachable overlays and Union Mounts List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: kausik pal Cc: qemu-devel@nongnu.org On Wed, Jan 08, 2014 at 11:26:28AM +0530, kausik pal wrote: > If this message should go elsewhere, my apologies. > > It would be great if QEMU have the capability of detachable overlay or > union mount. > So administrators can keep each software as separate individual qcow2/qed > disks and can put those disks on different layers so that the end user > would see combination of the softwares available to them. > > The desired scenario is like the following:- [easier to see the diagrams here: https://lists.gnu.org/archive/html/qemu-devel/2014-01/msg00819.html] qemu already supports snapshots. However they don't work like docker, ie. you cannot arbitrarily compose snapshots (I don't think this works properly in docker either, but that's another matter). Basically because snapshots are block-based, not file based, it is never going to be possible to compose them in the way you want. Filesystems at the block layer simply don't work this way. Have you considered using 9p? [http://wiki.qemu.org/Documentation/9psetup] Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 80 OCaml packages (the OPEN alternative to F#)