diff options
author | Olaf Hering <olaf@aepfle.de> | 2011-12-01 18:28:18 +0000 |
---|---|---|
committer | Olaf Hering <olaf@aepfle.de> | 2011-12-01 18:28:18 +0000 |
commit | f00d216182450961589c08c6996c00fe1ab0d127 (patch) | |
tree | 74a39b96d708310b29db2018d44297fba1d5d366 /tools/hotplug | |
parent | 48d95aee7d752efe3d9cdf2399e6a12b5a70e6f5 (diff) | |
download | xen-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/xencommons | 5 |
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" |