All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yu Zhiguo <yuzg@cn.fujitsu.com>
To: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	Keir Fraser <keir.fraser@eu.citrix.com>
Subject: Re: [PATCH] xencommons: mount xenfs directly if xenfs it not be loaded
Date: Tue, 22 Jun 2010 09:18:56 +0800	[thread overview]
Message-ID: <4C200F80.5030306@cn.fujitsu.com> (raw)
In-Reply-To: <4C1F34D9.4000006@goop.org>

Hi Jeremy

Jeremy Fitzhardinge wrote:
>>   
> 
> It should just be sufficient to explicitly mount /proc/xen, which will
> trigger a modprobe if necessary.
> 
>     J
> 


OK, I fixed it, new patch is here.
Just deleted check for xenfs support before mount xenfs.

------------------

If xenfs is compiled as a module, now cannot complete
'service xencommons start', mount xenfs directly can fix it,
it can trigger modprobe xenfs.

Signed-off-by: Yu Zhiguo <yuzg@cn.fujitsu.com>

diff -r bd3bf925f4ce -r 6c8c32876b30 tools/hotplug/Linux/init.d/xencommons
--- a/tools/hotplug/Linux/init.d/xencommons	Tue Jun 22 17:02:30 2010 +0800
+++ b/tools/hotplug/Linux/init.d/xencommons	Tue Jun 22 17:21:44 2010 +0800
@@ -27,7 +27,6 @@
 if test "x$1" = xstart && \
      test -d /proc/xen && \
    ! test -d /proc/xen/capabilities && \
-     grep '	xenfs$' /proc/filesystems >/dev/null && \
    ! grep '^xenfs ' /proc/mounts >/dev/null;
 then
 	mount -t xenfs xenfs /proc/xen

  parent reply	other threads:[~2010-06-22  1:18 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-19  7:39 [PATCH] xencommons: modprobe xenfs if it not be loaded Yu Zhiguo
2010-06-19  8:10 ` Yu Zhiguo
2010-06-21  9:46   ` Jeremy Fitzhardinge
2010-06-21 14:05     ` Ian Jackson
2010-06-21 14:45       ` Jeremy Fitzhardinge
2010-06-21 16:31         ` Ian Jackson
2010-06-21 17:29         ` Keir Fraser
2010-06-21 17:28       ` Keir Fraser
2010-06-21 20:13         ` Jeremy Fitzhardinge
2010-06-21 20:33           ` Keir Fraser
2010-06-22  1:18     ` Yu Zhiguo [this message]
2010-06-22 13:47       ` [PATCH] xencommons: mount xenfs directly if xenfs " Ian Jackson

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=4C200F80.5030306@cn.fujitsu.com \
    --to=yuzg@cn.fujitsu.com \
    --cc=jeremy@goop.org \
    --cc=keir.fraser@eu.citrix.com \
    --cc=xen-devel@lists.xensource.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.