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] [PATCH] Add /dev/xen/evtchn naming to udev rules

To: Jeremy Katz <katzj@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Add /dev/xen/evtchn naming to udev rules
From: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Date: Wed, 23 Aug 2006 22:13:11 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 23 Aug 2006 14:13:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1156196507.5643.5.camel@xxxxxxxxxxxxxx>
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>
References: <1156196507.5643.5.camel@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Mon, Aug 21, 2006 at 05:41:47PM -0400, Jeremy Katz wrote:

> The various tools expect the device node to be /dev/xen/evtchn -- this
> makes it so that udev actually creates the device there
> 
> Signed-off-by: Jeremy Katz <katzj@xxxxxxxxxx>
> 
> Jeremy

> diff -r ec03b24a2d83 tools/examples/xen-backend.rules
> --- a/tools/examples/xen-backend.rules        Tue Aug 15 19:53:55 2006 +0100
> +++ b/tools/examples/xen-backend.rules        Mon Aug 21 17:37:43 2006 -0400
> @@ -4,3 +4,4 @@ SUBSYSTEM=="xen-backend", KERNEL=="vif*"
>  SUBSYSTEM=="xen-backend", KERNEL=="vif*", ACTION=="online", 
> RUN+="$env{script} online"
>  SUBSYSTEM=="xen-backend", KERNEL=="vif*", ACTION=="offline", 
> RUN+="$env{script} offline"
>  SUBSYSTEM=="xen-backend", ACTION=="remove", 
> RUN+="/etc/xen/scripts/xen-hotplug-cleanup"
> +KERNEL=="evtchn", NAME="xen/%k"

Applied, thanks Jeremy.

Ewan.

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

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