WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Automatic loading of xen-evtchn module in Xen 4.0.0?

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Automatic loading of xen-evtchn module in Xen 4.0.0?
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Sat, 27 Mar 2010 19:32:21 +0200
Delivery-date: Sat, 27 Mar 2010 10:32:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
Hello,

xend automatically mounts /proc/xen, but it doesn't try loading evtchn or 
xen-evtchn modules.
Should we add automatic loading of these modules? 

xend doesn't start if xen event channel functionality is missing.

Fedora Xen rpms do load modules automatically, like this:

# cat /etc/sysconfig/modules/xen.modules
#!/bin/sh

test -d /proc/xen                               || exit 0
test -f /proc/xen/capabilities                  || mount -t xenfs xen /proc/xen
test -f /proc/xen/capabilities                  || exit 0
grep -q "control_d" /proc/xen/capabilities      || exit 0

for module in xen-evtchn evtchn blkbk netbk; do
        modprobe ${module} >/dev/null 2>&1
done

-- Pasi


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