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.