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: Re: [Xen-devel] mini-os: a event channel experiment

To: "Y. D." <duyuyang@xxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: Re: [Xen-devel] mini-os: a event channel experiment
From: "Paul Samon" <paul.samon@xxxxxxxxx>
Date: Wed, 29 Oct 2008 11:23:41 +0800
Cc:
Delivery-date: Tue, 28 Oct 2008 20:24:04 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=pBdfVKiKpsg+2bqnXlR6aUlr1CLkQ58O+YBUDV3ng/c=; b=D3NiE9Cx80DvYZn+zRfGUoqJDhiGpn2L50xxbuE9hKkPG79ZtfyjnBcjYHhTfv7/sG zUfKn6feevftRuwmGbB0kstBdSREFDeZfbWfUu6PptjejXktFrUY+WLc8c7fQOy/hRGa y9qPPYbg7l53H4lgMvCzmXFaHprrWgJKyZDlo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=pkhYYxscqy9YOxwyyh8j9ZvavuB1tJM36+iAwAgxKuAZvsZREjTOcr0V4bhD8PWS+U BKSNVkq6+S7Q5IWgV87b3EWB0BjiORhfTUzLZPI2Olnz4jGNrQ9SqPiF+0eOsRqaN9dm yHyrHtCI8opWZV/S1+/YnTL8y5+VFWkibOO3c=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200810291117474395854@xxxxxxxxx>
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: <200810290947322981037@xxxxxxxxx> <200810291117474395854@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Great.  -- Paul S.

On Wed, Oct 29, 2008 at 11:17 AM, Y. D. <duyuyang@xxxxxxxxx> wrote:
It worked. I totally forgot that.
Thank you very much.

shawn
------------------
Y. D.
2008-10-29

-------------------------------------------------------------
From:Paul Samon
Date:2008-10-29 10:12:43
To:Y. D.
Cc:xen-devel
Subject:Re: [Xen-devel] mini-os: a event channel experiment

I think you need an "EVTCHNOP_unmask" invocation for the port in domain A.

-- Paul S.
On Wed, Oct 29, 2008 at 9:47 AM, Y. D. <duyuyang@xxxxxxxxx> wrote:

>  Hi all,
>
> In a mini-os domain A, I start a thread allocating an event channel:
> err = evtchn_alloc_unbound(remote_domid, experiment_handler, NULL, &port);
> and registered a handler. The err value is 0. The thread normally exits.
>
> While in another mini-os domain B, I start a thread binding that event
> channel:
> err = evtchn_bind_interdomain(remote_domid, remote_port, experiment_handler2, NULL, &port);
>
> and send a event:
> err = HYPERVISOR_event_channel_op(EVTCHNOP_send, &event);  Both err is 0.
> The thread normally exits.
>
> but in the domain A, the event handler is not called.
>
> What is wrong with it?
>
> Thanks,
>
> shawn
>
>
> 2008-10-29
> ------------------------------
> Y. D.
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>
>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>