public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: Pekka Enberg <penberg@kernel.org>
Cc: Sasha Levin <levinsasha928@gmail.com>,
	linux-kernel@vger.kernel.org, kvm@vger.kernel.org,
	Avi Kivity <avi@redhat.com>, Ingo Molnar <mingo@elte.hu>,
	linux-fsdevel@vger.kernel.org
Subject: Re: [PATCH] init: Support mounting devices from kernel command line
Date: Mon, 18 Jul 2011 16:15:00 +0400	[thread overview]
Message-ID: <4E2423C4.6090906@msgid.tls.msk.ru> (raw)
In-Reply-To: <CAOJsxLG9h_L8x6-W67bMT1ObQKc=ZoLUKO8ocY4QQs=0rhw5ZQ@mail.gmail.com>

18.07.2011 15:55, Pekka Enberg wrote:
> On Mon, Jul 18, 2011 at 12:06 PM, Sasha Levin <levinsasha928@gmail.com> wrote:
>> This patch adds support to mounting devices using a kernel parameter.
>>
>> Such feature is usefull for virtual guests. It allows easily automating
>> mounts without having to change the base image (which can be read-only).
>>
>> In /tools/kvm we are interested in such feature to allow us to automatically
>> mount user home directory using virtio-9p from the host to the guest
>> filesystem under '/hostfs'.

Can't the same be done within initramfs just as easy?

Long time ago when initramfs first appeared the plan was to,
more or less, move all that mounting and root= handling
functionality to userspae, and here we're adding more
to kernel.  To me that sounds backwards...

Thanks,

/mjt

  reply	other threads:[~2011-07-18 12:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-18  9:06 [PATCH] init: Support mounting devices from kernel command line Sasha Levin
2011-07-18 11:55 ` Pekka Enberg
2011-07-18 12:15   ` Michael Tokarev [this message]
2011-07-18 12:27     ` Pekka Enberg
2011-07-18 19:44       ` James Bottomley

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=4E2423C4.6090906@msgid.tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=levinsasha928@gmail.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=penberg@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox