All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Richard W.M. Jones" <rjones@redhat.com>
To: kausik pal <kausikpal.1@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] QEMU detachable overlays and Union Mounts
Date: Wed, 8 Jan 2014 17:41:30 +0000	[thread overview]
Message-ID: <20140108174130.GA13802@redhat.com> (raw)
In-Reply-To: <CAN0ou_XUZOx_TUi1QFWRutBZiSEHLuG_DS0Lx94fepDWzCjJxQ@mail.gmail.com>

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#)

  reply	other threads:[~2014-01-08 17:41 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-08  5:56 [Qemu-devel] QEMU detachable overlays and Union Mounts kausik pal
2014-01-08 17:41 ` Richard W.M. Jones [this message]
2014-01-08 18:07   ` kausik pal
2014-01-08 22:27     ` Richard W.M. Jones
2014-01-09  6:35       ` kausik pal
2014-01-09  9:54         ` Stefan Hajnoczi
2014-01-09 11:45           ` kausik pal
2014-01-10  1:35             ` Stefan Hajnoczi
2014-01-10  5:52               ` kausik pal
2014-01-10 10:20                 ` Stefan Hajnoczi
2014-01-10 18:42                   ` kausik pal
2014-01-13  2:36                     ` Stefan Hajnoczi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140108174130.GA13802@redhat.com \
    --to=rjones@redhat.com \
    --cc=kausikpal.1@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.