Re: [Qemu-devel] [PATCH v2 4/9] slirp: switch to GPollFD

2013-02-04 Thread Stefan Hajnoczi
On Sat, Feb 02, 2013 at 12:46:20PM +, Blue Swirl wrote: > On Fri, Feb 1, 2013 at 1:53 PM, Stefan Hajnoczi wrote: > > Slirp uses rfds/wfds/xfds more extensively than other QEMU components. > > > > The rarely-used out-of-band TCP data feature is used. That means we > > need the full table of se

Re: [Qemu-devel] [PATCH v2 4/9] slirp: switch to GPollFD

2013-02-02 Thread Blue Swirl
On Fri, Feb 1, 2013 at 1:53 PM, Stefan Hajnoczi wrote: > Slirp uses rfds/wfds/xfds more extensively than other QEMU components. > > The rarely-used out-of-band TCP data feature is used. That means we > need the full table of select(2) to g_poll(3) events: > > rfds -> G_IO_IN | G_IO_HUP | G_IO_E

[Qemu-devel] [PATCH v2 4/9] slirp: switch to GPollFD

2013-02-01 Thread Stefan Hajnoczi
Slirp uses rfds/wfds/xfds more extensively than other QEMU components. The rarely-used out-of-band TCP data feature is used. That means we need the full table of select(2) to g_poll(3) events: rfds -> G_IO_IN | G_IO_HUP | G_IO_ERR wfds -> G_IO_OUT | G_IO_ERR xfds -> G_IO_PRI I came up wit