[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] /dev/misc/evtchn , /dev/xen/evtchn and the event channel driver : a little question


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.