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

Re: [Xen-devel] Name of event-channel and other devices vs. udev

To: xen-devel@xxxxxxxxxxxxxxxxxxx, Keir Fraser <Keir.Fraser@xxxxxxxxxxxxx>, Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: Re: [Xen-devel] Name of event-channel and other devices vs. udev
From: Bastian Blank <waldi@xxxxxxxxxx>
Date: Thu, 27 May 2010 09:35:12 +0200
Cc:
Delivery-date: Thu, 27 May 2010 00:37:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100526105144.GA28280@xxxxxxxxxxxxxxxxxxxxxxx>
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>
Mail-followup-to: Bastian Blank <waldi@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Keir Fraser <Keir.Fraser@xxxxxxxxxxxxx>, Jeremy Fitzhardinge <jeremy@xxxxxxxx>
References: <20100526105144.GA28280@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
On Wed, May 26, 2010 at 12:51:44PM +0200, Bastian Blank wrote:
> Currently udev overwrites the name of the event-channel device to
> /dev/xen/evtchn. This approach is about to be discontinued and needs to
> be fixed on either side.
> There are several fixes for that:
> - Make the kernel name the device "xen/evtchn".

This approach somewhat reliable failed for me[1]. Also nothing else in
the kernel uses it. So I assume this is not really supported.

> - Remove the rule and convert to another name. Either /dev/evtchn, which
>   is a bit to generic or something like xen-evtchn.

So this is the only solution, and the kernel usually uses _ as
delimiter for devices, so "xen_evtchn" is the name to use. And make
xen/evtchn a symlink for backward compatibility.

Bastian

[1]: http://bugs.debian.org/583283
-- 
Conquest is easy. Control is not.
                -- Kirk, "Mirror, Mirror", stardate unknown

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