Re: [libvirt] [PATCH v2] command: Discard FD_SETSIZE limit for opened files

2012-01-05 Thread Michal Privoznik
On 04.01.2012 19:51, Eric Blake wrote: > On 01/04/2012 09:58 AM, Michal Privoznik wrote: >> Currently, virCommand implementation uses FD_ macros from >> sys/select.h. However, those cannot handle more opened files >> than FD_SETSIZE. Therefore switch to generalized implementation >> based on array

Re: [libvirt] [PATCH v2] command: Discard FD_SETSIZE limit for opened files

2012-01-04 Thread Eric Blake
On 01/04/2012 09:58 AM, Michal Privoznik wrote: > Currently, virCommand implementation uses FD_ macros from > sys/select.h. However, those cannot handle more opened files > than FD_SETSIZE. Therefore switch to generalized implementation > based on array of integers. > --- > diff to v1: > - Eric's r

[libvirt] [PATCH v2] command: Discard FD_SETSIZE limit for opened files

2012-01-04 Thread Michal Privoznik
Currently, virCommand implementation uses FD_ macros from sys/select.h. However, those cannot handle more opened files than FD_SETSIZE. Therefore switch to generalized implementation based on array of integers. --- diff to v1: - Eric's review included src/util/command.c | 113 +++