]> git.ipfire.org Git - thirdparty/qemu.git/commit
net/slirp: libslirp 4.9.0 compatibility
authorMichael Tokarev <mjt@tls.msk.ru>
Thu, 30 Jan 2025 12:32:53 +0000 (15:32 +0300)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 19 Feb 2025 20:02:09 +0000 (23:02 +0300)
commitd62f4b6d0d9ba92a0fe5dd02e4eba674edffb3e9
tree697f5330c5ced168109e4643815ed0beff112f02
parent9a51650419a6ce5f343495959cc9661c1027d899
net/slirp: libslirp 4.9.0 compatibility

Update the code in net/slirp.c to be compatible with
libslirp 4.9.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 <mjt@tls.msk.ru>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Message-ID: <20250130123253.864681-1-mjt@tls.msk.ru>
[thuth: Added some spaces to make checkpatch.pl happy]
Signed-off-by: Thomas Huth <thuth@redhat.com>
(cherry picked from commit f141caa270af536b4d5b7c8540820f1bdd245d71)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
net/slirp.c