Get notified on unbind_evtchn?
Hi,
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?
Thank you.
Hieu
Quoted 6 lines · NAHieu
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
Quoted 7 lines · Keir Fraser
Quoted 4 lines · NAHieu
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?
Quoted 7 lines
Quoted 2 lines
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).
Great! Then I must write a teardown process instead of getting notified.
Thank you.
Hieu