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

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



# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1323363028 0
# Node ID 1c89f7d29fbb73e489b3f0a12138c1b372355575
# Parent  7a4fad2d4b05612b6064ee1926deed159de777fe
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>

xen-unstable changeset: 24334:9c8aff308002
Backport-requested-by: Olaf Hering <olaf@xxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---


diff -r 7a4fad2d4b05 -r 1c89f7d29fbb tools/hotplug/Linux/init.d/xencommons
--- a/tools/hotplug/Linux/init.d/xencommons     Thu Dec 08 16:50:16 2011 +0000
+++ b/tools/hotplug/Linux/init.d/xencommons     Thu Dec 08 16:50:28 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®.