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] Handle for events?

To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: Re: [Xen-devel] Handle for events?
From: "Srujan D. Kotikela" <ksrujandas@xxxxxxxxx>
Date: Wed, 29 Sep 2010 11:27:26 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 29 Sep 2010 09:28:25 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=wa2JhCF0kD3A6LfGsjF95o4D3irlKEtmWQ3SXpj+/0Y=; b=ryfdmwwyOIzh8gl+ZzypWISLCYT3QtC1iM2tQ/tluxu4ww4F9zrEI9QYV/MXHXXobf FAxK9m2aP99WbgTKg7gKlEXchbWLWIPPzj6JnInFI3uokkNBmHI78otdC+6iUQOqJer8 SZuSpCGy40xiwH4XCtj6yMPD9TG4S1HzUbqHc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=mfDSgulJf0iCkYyaM8SPaoApW3RxHirkravdz0nMnIkR06bkbVRUsBU/s/sjax2zkB MeGZ9g1dT1FXNLeHAHu4hUD86i4/Hl0/lfV/psdsL09FjlOZS/2kkR3Fw4e7ae5u7Qrp WF00vAebHQYQGbYW6tVxA0R1ke0IIIpbTttvs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4CA36471.5040503@xxxxxxxx>
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>
References: <AANLkTi=TafOCtvaBtfQbmRWyKA1y3_N+fjAT1XzWHZba@xxxxxxxxxxxxxx> <4CA36471.5040503@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
I called the xc_evtchn_notify(). But I see no message/notification in /dev/xen/evtchn (in either DomU or Dom0). I did a little research and found there might be problem with my xen-evtchn module. However it is statically compiled into my kernel and i can see the following contents in /proc/xen

ls /proc/xen/
balloon  capabilities  privcmd    xenbus    xsd_kva  xsd_port

For now I just  want to send and event and acknowledge it (later application will be built on top of this).

--
Srujan D. Kotikela


On Wed, Sep 29, 2010 at 11:08 AM, Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:
 On 09/28/2010 09:46 PM, Srujan D. Kotikela wrote:
> Hi,
>
> I am trying to send events from DomU to the Dom0. I have established
> an event channel. I used to xc_evtchn_notify() to send an event. But I
> am not sure how to check if the event has been sent. Through source
> browsing I found an event handler for xensource. Is there no generic
> handler for event channels?

/dev/xen/evtchn allows a usermode program to wait for specific event
channels.

   J

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>