Re: [PATCH 4/5] net: slirp: add support for CFI-friendly timer API

2022-05-05 Thread Marc-André Lureau
On Thu, May 5, 2022 at 1:01 AM Paolo Bonzini wrote: > 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 C

[PATCH 4/5] net: slirp: add support for CFI-friendly timer API

2022-05-04 Thread Paolo Bonzini
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. Signed