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

[Xen-changelog] [xen-unstable] tools: init.d/Linux/xencommons: load evtchn and gntdev modules



# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1322764098 0
# Node ID 9c8aff3080024db56a85f41ea3534695e70ee8fd
# Parent  4002e63b188aa01acf000e773ba33418e27ee0af
tools: init.d/Linux/xencommons: load evtchn and gntdev modules

There is currently no code in the kernel to trigger autoload of the
evtchn or gntdev drivers. Load them manually during xencommons start.
Handle both pvops and xenlinux module names.

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---


diff -r 4002e63b188a -r 9c8aff308002 tools/hotplug/Linux/init.d/xencommons
--- a/tools/hotplug/Linux/init.d/xencommons     Thu Dec 01 18:27:42 2011 +0000
+++ b/tools/hotplug/Linux/init.d/xencommons     Thu Dec 01 18:28:18 2011 +0000
@@ -54,6 +54,11 @@
         local time=0
        local timeout=30
 
+       modprobe xen-evtchn 2>/dev/null
+       modprobe xen-gntdev 2>/dev/null
+       modprobe evtchn 2>/dev/null
+       modprobe gntdev 2>/dev/null
+
        if ! `xenstore-read -s / >/dev/null 2>&1`
        then
                test -z "$XENSTORED_ROOTDIR" || 
XENSTORED_ROOTDIR="/var/lib/xenstored"

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


 


Rackspace

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