* Pekka Enberg <[email protected]> wrote:
> On Fri, Oct 14, 2011 at 9:08 AM, Ingo Molnar <[email protected]> wrote:
> > The canonical extension of that would be to create .kvmtool/ in $CWD
> > and to union-mount the files in the current directory on top of the
> > .kvmtool 'binary environment' - or such.
>
> Union mount is off the table for now because neither overlayfs nor
> union mounts are in Linus' tree.
>
> > Or, an approximation of that would be to simply mount $CWD as /home
> > of the guest environment.
> >
> > Thus $CWD/.kvmtool/default/ would be the default root fs (multiple
> > instances can be created), and $CWD would be the default /home or
> > /host filesystem.
>
> I like it!
>
> Should we also introduce KVMTOOLDIR environment variable (much like
> GIT_DIR) that can override the default $CWD?
Per KISS i'd suggest to only implement it on request - but allow an
option to point to whatever explicit combination of rootfs and
hostfs.
Thanks,
Ingo
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html