summary refs log tree commit diff stats
path: root/include/qemu/coroutine.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2022-04-11 09:39:16 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2022-05-12 12:29:44 +0200
commit6222e55d134162e87062326a773eb7c9f9d13834 (patch)
tree6b7e079b0c570da3358447cebb27540519325a66 /include/qemu/coroutine.h
parentbce63ded2066a21cc1f5922d0bf667123123d6f6 (diff)
downloadfocaccia-qemu-6222e55d134162e87062326a773eb7c9f9d13834.tar.gz
focaccia-qemu-6222e55d134162e87062326a773eb7c9f9d13834.zip
net: slirp: add support for CFI-friendly timer API
libslirp 4.7 introduces a CFI-friendly version of the .timer_new callback.
The new callback replaces the function pointer with an enum; invoking the
callback is done with a new function slirp_handle_timer.

Support the new API so that CFI can be made compatible with using a system
libslirp.

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>
Diffstat (limited to 'include/qemu/coroutine.h')
0 files changed, 0 insertions, 0 deletions