We want to have no fd events registered when we are idle.
In this patch, deal with the xenstore watch fd:
* Track the total number of active watches.
* When deregistering a watch, or when watch registration fails, check
whether there are now no watches and if so deregister the fd.
* On libxl
On Tue, 2014-12-09 at 15:54 +, Ian Jackson wrote:
We want to have no fd events registered when we are idle.
In this patch, deal with the xenstore watch fd:
* Track the total number of active watches.
* When deregistering a watch, or when watch registration fails, check
whether there
Ian Campbell writes (Re: [PATCH 2/6] libxl: events: Deregister xenstore watch
fd when not needed):
On Tue, 2014-12-09 at 15:54 +, Ian Jackson wrote:
We want to have no fd events registered when we are idle.
In this patch, deal with the xenstore watch fd:
...
Signed-off-by: Ian Jackson
On Thu, 2014-11-27 at 18:27 +, Ian Jackson wrote:
* On libxl teardown, the watch fd should therefore be unregistered.
assert that this is the case.
A bunch of the patches in this series basically assume that the ctx is
idle when it is freed, i.e. it requires everything to be explicitly
On Thu, 2014-11-27 at 18:27 +, Ian Jackson wrote:
We want to have no fd events registered when we are idle.
In this patch, deal with the xenstore watch fd:
* Track the total number of active watches.
* When deregistering a watch, or when watch registration fails, check
whether there
Ian Campbell writes (Re: [PATCH 2/6] libxl: events: Deregister xenstore watch
fd when not needed):
On Thu, 2014-11-27 at 18:27 +, Ian Jackson wrote:
* On libxl teardown, the watch fd should therefore be unregistered.
assert that this is the case.
A bunch of the patches in this
On Fri, 2014-11-28 at 14:56 +, Ian Jackson wrote:
Ian Campbell writes (Re: [PATCH 2/6] libxl: events: Deregister xenstore
watch fd when not needed):
On Thu, 2014-11-27 at 18:27 +, Ian Jackson wrote:
* On libxl teardown, the watch fd should therefore be unregistered.
assert
We want to have no fd events registered when we are idle.
In this patch, deal with the xenstore watch fd:
* Track the total number of active watches.
* When deregistering a watch, or when watch registration fails, check
whether there are now no watches and if so deregister the fd.
* On libxl