aboutsummaryrefslogtreecommitdiffstats
path: root/tools/hotplug
diff options
context:
space:
mode:
authorOlaf Hering <olaf@aepfle.de>2011-12-01 18:28:18 +0000
committerOlaf Hering <olaf@aepfle.de>2011-12-01 18:28:18 +0000
commitf00d216182450961589c08c6996c00fe1ab0d127 (patch)
tree74a39b96d708310b29db2018d44297fba1d5d366 /tools/hotplug
parent48d95aee7d752efe3d9cdf2399e6a12b5a70e6f5 (diff)
downloadxen-f00d216182450961589c08c6996c00fe1ab0d127.tar.gz
xen-f00d216182450961589c08c6996c00fe1ab0d127.tar.bz2
xen-f00d216182450961589c08c6996c00fe1ab0d127.zip
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@aepfle.de> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/hotplug')
-rw-r--r--tools/hotplug/Linux/init.d/xencommons5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/hotplug/Linux/init.d/xencommons b/tools/hotplug/Linux/init.d/xencommons
index 1378bef0fa..f02b25dabb 100644
--- a/tools/hotplug/Linux/init.d/xencommons
+++ b/tools/hotplug/Linux/init.d/xencommons
@@ -54,6 +54,11 @@ do_start () {
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"