From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Ryden Subject: /dev/misc/evtchn , /dev/xen/evtchn and the event channel driver : a little question Date: Thu, 29 Sep 2005 16:53:15 +0300 Message-ID: Reply-To: Mark Ryden Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hello, This is something I do not understand : I have a version of xen-unstable from a few days ago. (I am using the default "make world" and make install, which means 2.6.* versions; and I run it on x386). I had looked at the code of evtchn.c (/drivers/xen/evtchn in the sparse tr= ee). I see there: err =3D misc_register(&evtchn_miscdev); =09if (err !=3D 0) =09 { =09 printk(KERN_ALERT "Could not register /dev/misc/evtchn\n"); =09 return err; } and also: static struct miscdevice evtchn_miscdev =3D { =09.minor =3D EVTCHN_MINOR, =09.name =3D "evtchn", =09.fops =3D &evtchn_fops, #if LINUX_VERSION_CODE >=3D KERNEL_VERSION(2,6,0) =09.devfs_name =3D "misc/evtchn", #endif }; I had booted Xen (domain 0). But I do not have /dev/misc/evtchn ! (as ls /dev/misc/evtchn shows). On the other hand I *DO* have /dev/xen/evtchn and it seems to me that other modules in tools use /dev/xen/evtchn and not /dev/misc/evtchn. What is the truth behind this mystery ? TIA, MR