From: Keir Fraser Subject: Re: Get notified on unbind_evtchn? Date: Wed, 5 Oct 2005 17:49:33 +0100 Message-ID: <42d91f9d9ddb4422fc4af89dbd58a2a3@cl.cam.ac.uk> References: <5d7aca950510050925l5fe5e5ebhf43ece8bbbf771eb@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5d7aca950510050925l5fe5e5ebhf43ece8bbbf771eb@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: NAHieu Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On 5 Oct 2005, at 17:25, NAHieu wrote: > When domU and dom0 bind to evtchn, if one unbind the channel (for > example with unbind_evtchn_from_irqhandler() ), does the other side > get aware of the event? > > I imagine in that case, the other side will somehow get notified, is > that correct? If so, how can we intercept that notify? There is no such notification. The expectation is that setup and teardown actions are synchronised/communicated 'out of band' (usually via xenstore). Anyway, a notification alone would not be much use -- how will the receiver know that this particular notification means the remote end has gone away? Adding extra teardown bits and pieces to the event-channel interface seems unnecessary when we provide xenstore for these control-plane setup/teardown activities. -- Keir