]> xenbits.xensource.com Git - xen.git/commit
libxl: support multiple libxl__ev_fds for the same fd
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 11 May 2012 17:58:55 +0000 (18:58 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Fri, 11 May 2012 17:58:55 +0000 (18:58 +0100)
commitd2037c4acfb56930ff37f984de8440cc765f1acc
tree434a81a8bb4fb99b8d65f0b8c522c15c814c6a27
parent9104f1857f6e732e5e90c296b1575bbe72923ff7
libxl: support multiple libxl__ev_fds for the same fd

We need a slightly more sophisticated data structure to allow this,
where we record the slot not just for each fd but also for each
(fd,eventbit) where eventbit is POLLIN, POLLPRI, POLLOUT.

Document the new relaxed restriction.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Changes since v6:
 * Fix typo
Committed-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
tools/libxl/libxl_event.c
tools/libxl/libxl_internal.h