From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Y. D." Subject: mini-os: a event channel experiment Date: Wed, 29 Oct 2008 09:47:34 +0800 Message-ID: <200810290947322981037@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0939138665==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============0939138665== Content-Type: multipart/alternative; boundary="=====003_Dragon652732734280_=====" This is a multi-part message in MIME format. --=====003_Dragon652732734280_===== Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit 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. --=====003_Dragon652732734280_===== Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: 7bit
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.
--=====003_Dragon652732734280_=====-- --===============0939138665== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0939138665==--