]> git.proxmox.com Git - mirror_qemu.git/commit - net/slirp.c
net: slirp: introduce a wrapper struct for QemuTimer
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 11 Apr 2022 07:26:06 +0000 (09:26 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 12 May 2022 10:29:44 +0000 (12:29 +0200)
commitad2e5b87d7d070cb4c0a3ba1c20a4ec5e6429301
treec2465b06789d51e0adfe9a029631d016d6ccca15
parent0c1450e2045e1a046854c34f34ed9f03dcdab0fb
net: slirp: introduce a wrapper struct for QemuTimer

This struct will be extended in the next few patches to support the
new slirp_handle_timer() call.  For that we need to store an additional
"int" for each SLIRP timer, in addition to the cb_opaque.

Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Reviewed-by: Marc-André Lureau <malureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
net/slirp.c