From: Sasha Levin <levinsasha928@gmail.com>
To: Pekka Enberg <penberg@kernel.org>
Cc: mingo@elte.hu, asias.hejun@gmail.com, gorcunov@gmail.com,
prasadjoshi124@gmail.com, kvm@vger.kernel.org
Subject: Re: [PATCH 2/2 V3] kvm tools: Add virtio-9p
Date: Fri, 20 May 2011 16:36:05 +0300 [thread overview]
Message-ID: <1305898565.3205.11.camel@lappy> (raw)
In-Reply-To: <alpine.DEB.2.00.1105201628230.16011@tiger>
On Fri, 2011-05-20 at 16:30 +0300, Pekka Enberg wrote:
> On Fri, 20 May 2011, Sasha Levin wrote:
> > This is the implementation of (most of) the original
> > 9p2000 protocol, without the .u or the .l extensions.
> >
> > How to use:
> > 1. Make sure kernel is compiled with:
> > CONFIG_NET_9P=y
> > CONFIG_NET_9P_VIRTIO=y
> > CONFIG_NET_9P_DEBUG=y (At least until code is stable)
> > CONFIG_9P_FS=y
> >
> > 2. Start KVM with '--virtio-9p <dirname>'. What happens now is that
> > a virtio transport with the name 'kvm_9p' is created. The server side
> > of the transport maps dirname to the root of the file system.
> >
> > 3. Within the guest, mount the fs:
> > mount -t 9p -otrans=virtio kvm_9p <local_dir> -oversion=9p2000
> > This will mount the 9p server to local_dir.
> >
> > Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
>
> This is super cool feature, Sasha! Applied!
>
> Would it be possible to have some test case for 'make check' that
> mounts a host directory in the guest? It'd be really helpful in
> making sure we don't break it.
>
> Other thing is to make the hypervisor and guest kernel work
> together to automatically mount part of the host filesystem
> in the guest.
I'll do these two once I'm done monkeying with E820 later today :)
Regarding the second one, as we discussed - actually mounting it on the
guest will require a kernel patch, so it'll take some time.
--
Sasha.
prev parent reply other threads:[~2011-05-20 13:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-20 8:37 [PATCH 1/2 V3] kvm tools: Copy net/9p/9p.h Sasha Levin
2011-05-20 8:37 ` [PATCH 2/2 V3] kvm tools: Add virtio-9p Sasha Levin
2011-05-20 13:30 ` Pekka Enberg
2011-05-20 13:36 ` Sasha Levin [this message]
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=1305898565.3205.11.camel@lappy \
--to=levinsasha928@gmail.com \
--cc=asias.hejun@gmail.com \
--cc=gorcunov@gmail.com \
--cc=kvm@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=penberg@kernel.org \
--cc=prasadjoshi124@gmail.com \
/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.