xcp-1.6-updates/xen-4.1.hg
changeset 23201:1c89f7d29fbb
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>
xen-unstable changeset: 24334:9c8aff308002
Backport-requested-by: Olaf Hering <olaf@aepfle.de>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
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>
xen-unstable changeset: 24334:9c8aff308002
Backport-requested-by: Olaf Hering <olaf@aepfle.de>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
author | Olaf Hering <olaf@aepfle.de> |
---|---|
date | Thu Dec 08 16:50:28 2011 +0000 (2011-12-08) |
parents | 7a4fad2d4b05 |
children | bb365e21314d |
files | tools/hotplug/Linux/init.d/xencommons |
line diff
1.1 --- a/tools/hotplug/Linux/init.d/xencommons Thu Dec 08 16:50:16 2011 +0000 1.2 +++ b/tools/hotplug/Linux/init.d/xencommons Thu Dec 08 16:50:28 2011 +0000 1.3 @@ -54,6 +54,11 @@ do_start () { 1.4 local time=0 1.5 local timeout=30 1.6 1.7 + modprobe xen-evtchn 2>/dev/null 1.8 + modprobe xen-gntdev 2>/dev/null 1.9 + modprobe evtchn 2>/dev/null 1.10 + modprobe gntdev 2>/dev/null 1.11 + 1.12 if ! `xenstore-read -s / >/dev/null 2>&1` 1.13 then 1.14 test -z "$XENSTORED_ROOTDIR" || XENSTORED_ROOTDIR="/var/lib/xenstored"