]> www.infradead.org Git - users/dwmw2/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)
committerThomas Huth <thuth@redhat.com>
Thu, 30 Jan 2025 13:01:46 +0000 (14:01 +0100)
commitf141caa270af536b4d5b7c8540820f1bdd245d71
tree97d27dbd2655d83f557143f850970ada8011f10f
parentf194f0cab092f976c80e2ec226aa20fb9c35cb1f
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>
net/slirp.c