Re: [Qemu-devel] [PATCH 02/11] poller: add Poller for growable GPollFD arrays

2013-01-31 Thread Anthony Liguori
Stefan Hajnoczi writes: > On Thu, Jan 31, 2013 at 06:56:56AM -0600, Anthony Liguori wrote: >> Stefan Hajnoczi writes: >> >> > QEMU currently uses select(2)-style rfds/wfds/xfds for file descriptor >> > event polling. Unfortunately the underlying fd_set type and its macros >> > (FD_SET()) have

Re: [Qemu-devel] [PATCH 02/11] poller: add Poller for growable GPollFD arrays

2013-01-31 Thread Stefan Hajnoczi
On Thu, Jan 31, 2013 at 06:56:56AM -0600, Anthony Liguori wrote: > Stefan Hajnoczi writes: > > > QEMU currently uses select(2)-style rfds/wfds/xfds for file descriptor > > event polling. Unfortunately the underlying fd_set type and its macros > > (FD_SET()) have a hardcoded maximum for file desc

Re: [Qemu-devel] [PATCH 02/11] poller: add Poller for growable GPollFD arrays

2013-01-31 Thread Anthony Liguori
Stefan Hajnoczi writes: > QEMU currently uses select(2)-style rfds/wfds/xfds for file descriptor > event polling. Unfortunately the underlying fd_set type and its macros > (FD_SET()) have a hardcoded maximum for file descriptors. It is > possible to exceed this limit so we need a more scalable

[Qemu-devel] [PATCH 02/11] poller: add Poller for growable GPollFD arrays

2013-01-31 Thread Stefan Hajnoczi
QEMU currently uses select(2)-style rfds/wfds/xfds for file descriptor event polling. Unfortunately the underlying fd_set type and its macros (FD_SET()) have a hardcoded maximum for file descriptors. It is possible to exceed this limit so we need a more scalable event polling structure. Poller i