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] /dev/misc/evtchn , /dev/xen/evtchn and the event channel dri

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] /dev/misc/evtchn , /dev/xen/evtchn and the event channel driver : a little question
From: Mark Ryden <markryde@xxxxxxxxx>
Date: Thu, 29 Sep 2005 16:53:15 +0300
Delivery-date: Thu, 29 Sep 2005 13:50:53 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=c54GF3pc5mXEyjktCWC8D5buVzC+pTToPrPRfvdYl3KJ44NvJtHiJ2BCPypyorZQWfmcNaLzxQf2JOFyhyz72dKC7IdLjPGPBtSkdV8UN3OppU+/ZNqpOlPbOL1vSHbxCjzl/pmNjA7k90J88VAZL1f+itrLQMjCgUrW04ktMGA=
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Mark Ryden <markryde@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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 tree).

I see there:

err = misc_register(&evtchn_miscdev);
        if (err != 0)
           {
           printk(KERN_ALERT "Could not register /dev/misc/evtchn\n");
          return err;
         }

and also:
static struct miscdevice evtchn_miscdev = {
        .minor        = EVTCHN_MINOR,
        .name         = "evtchn",
        .fops         = &evtchn_fops,
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
        .devfs_name   = "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

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

<Prev in Thread] Current Thread [Next in Thread>