[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] mini-os: a event channel experiment


  • To: "Y. D." <duyuyang@xxxxxxxxx>
  • From: "Paul Samon" <paul.samon@xxxxxxxxx>
  • Date: Wed, 29 Oct 2008 10:12:42 +0800
  • Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Tue, 28 Oct 2008 19:13:06 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=EkgFJ+lATe/ctEfl1vcZxOMID9VFsHLCT+qBBJNe0C4Oy/tRQoXJIqYarUTsiqJuSe c+8trxQLOnkmI6276WaxU0WVA2N74R3kS2Q9O34VVHiS3nS7I2Sm6jKVzED7WOIBpnCk ubyY1HUdNpRCFbSFuasuL+Pf99YSCxPu+3ckA=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.