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] Event channel problems

To: Kieran Mansley <kmansley@xxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Event channel problems
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Tue, 13 Mar 2007 17:19:18 +0000
Delivery-date: Tue, 13 Mar 2007 10:18:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1173805623.4100.10.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acdlk7tH+cjaoNGGEduMWwAX8io7RQ==
Thread-topic: [Xen-devel] Event channel problems
User-agent: Microsoft-Entourage/11.2.5.060620
On 13/3/07 17:07, "Kieran Mansley" <kmansley@xxxxxxxxxxxxxx> wrote:

> However, when the backend then calls:
> 
>         notify_remote_via_evtchn(channel);
> 
> Nothing happens at the frontend.  I was expecting the irq_from_backend()
> function to be called.  There are no errors from any of the above code,
> and the returned values for channels and irqs look very sensible.  Any
> suggestions what I'm doing wrong?

Is channel here the id you got from the frontend? That's not the right thing
to use. Given your backend example code you should
notify_remote_via_irq(channel_irq) (i.e., use the irq number you got back
from bind_interdomain_evtchn_to_irqhandler).

 -- Keir


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

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