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 Semantics

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Event Channel Semantics
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Thu, 9 Nov 2006 15:34:35 +0000
Cc: Julian Stecklina <der_julian@xxxxxx>
Delivery-date: Thu, 09 Nov 2006 07:33:50 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <eiv1tb$8t5$1@xxxxxxxxxxxxx>
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: <eiv1tb$8t5$1@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.5
> I am developing some userspace tools on Xen/Linux and have problems
> regarding the semantics of /dev/linux/evtchn. The situation is as follows:
>
> Suppose client A allocates an unbound port.
> Client B connects to this via bind_interdomain.
> Client A reads on /dev/linux/evtchn to see whether it has been notified.
>
> If client B now notifies client A, the latter gets the correct port from
> the call to read(). But all subsequent notifications get lost, and
> client A just sits there blocking on read().
>
> Is this intended? If not, where is the problem?

Are you clearing the event channel after receiving the first notification?

Cheers,
Mark

-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

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

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