From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: [PATCH 2/2] kvm tools: Add virtio-9p Date: Wed, 18 May 2011 13:09:47 +0200 Message-ID: <20110518110947.GC16556@elte.hu> References: <1305657337-2584-1-git-send-email-levinsasha928@gmail.com> <1305657337-2584-2-git-send-email-levinsasha928@gmail.com> <1305714931.12150.76.camel@sasha> <1305715645.12150.80.camel@sasha> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Pekka Enberg , asias.hejun@gmail.com, prasadjoshi124@gmail.com, gorcunov@gmail.com, kvm@vger.kernel.org, Eric Van Hensbergen , jvrao To: Sasha Levin Return-path: Received: from mx3.mail.elte.hu ([157.181.1.138]:59102 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932125Ab1ERLKB (ORCPT ); Wed, 18 May 2011 07:10:01 -0400 Content-Disposition: inline In-Reply-To: <1305715645.12150.80.camel@sasha> Sender: kvm-owner@vger.kernel.org List-ID: * Sasha Levin wrote: > On Wed, 2011-05-18 at 13:38 +0300, Pekka Enberg wrote: > > On Wed, May 18, 2011 at 1:35 PM, Sasha Levin 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