Re: [PATCH 2/2] kvm tools: Add virtio-9p

Ingo Molnar
2011-05-18T11:10:01Z

* Sasha Levin <levinsasha928@gmail.com> wrote:

> On Wed, 2011-05-18 at 13:38 +0300, Pekka Enberg wrote:
> > On Wed, May 18, 2011 at 1:35 PM, Sasha Levin <levinsasha928@gmail.com> wrote:
> > > I'm not sure how to do the guest part automatically, it's just a simple
> > > mount command - but I don't see how we can do it in a simple manner.
> >
> > IIRC, Ingo suggested a kernel config option - a kernel parameter might
> > also work. Eric, Ingo, thoughts?
>
> Ingo suggested kernel config option to allow booting from 9p (similarly
> to NFS), but thats not needed at the moment - we can boot 9p just as any
> other fs if we name our virtio transport right.
>
> We can add a more generic kernel parameter that will mount simple
> filesystem[s] after mounting rootfs (something like the root= option,
> but for non-root systems).

Correct, and yes it should be a separate thing (and we still want it): just
like there's a .config option to mount devtmpfs under /dev automatically, see
CONFIG_DEVTMPFS=y.

Thanks,

Ingo