Re: [PATCH v3] net/slirp: libslirp 4.8.0 compatibility

2025-01-30 Thread Samuel Thibault
Thomas Huth, le jeu. 30 janv. 2025 13:21:23 +0100, a ecrit: > On 30/01/2025 12.48, Michael Tokarev wrote: > > Update the code in net/slirp.c to be compatible with > > libslirp 4.8.0, which deprecated slirp_pollfds_fill() > > and started using slirp_os_socket type for sockets > > (which is a 64-bit

Re: [PATCH v3] net/slirp: libslirp 4.8.0 compatibility

2025-01-30 Thread Michael Tokarev
30.01.2025 15:21, Thomas Huth wrote: On 30/01/2025 12.48, Michael Tokarev wrote: +#if !SLIRP_CHECK_VERSION(4,8,0) +# define slirp_os_socket int +# define slirp_pollfds_fill_socket slirp_pollfds_fill +# define register_poll_socket register_poll_fd If I get that right, register_poll_socket has

Re: [PATCH v3] net/slirp: libslirp 4.8.0 compatibility

2025-01-30 Thread Thomas Huth
On 30/01/2025 12.48, Michael Tokarev wrote: Update the code in net/slirp.c to be compatible with libslirp 4.8.0, which deprecated slirp_pollfds_fill() and started using slirp_os_socket type for sockets (which is a 64-bit integer on win64) for all callbacks starting with version 6 of the interface

[PATCH v3] net/slirp: libslirp 4.8.0 compatibility

2025-01-30 Thread Michael Tokarev
Update the code in net/slirp.c to be compatible with libslirp 4.8.0, which deprecated slirp_pollfds_fill() and started using slirp_os_socket type for sockets (which is a 64-bit integer on win64) for all callbacks starting with version 6 of the interface. Signed-off-by: Michael Tokarev --- v2: upd