[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] xencommons: mount xenfs directly if xenfs it not be loaded



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@xxxxxxxxxxxxxx>

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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.