Re: [PATCH v3 04/20] plugins: Move function pointer in qemu_plugin_dyn_cb

2024-04-29 Thread Philippe Mathieu-Daudé
On 25/4/24 01:02, Richard Henderson wrote: The out-of-line function pointer is mutually exclusive with inline expansion, so move it into the union. Wrap the pointer in a structure named 'regular' to match PLUGIN_CB_REGULAR. Reviewed-by: Alex Bennée Signed-off-by: Richard Henderson --- includ

[PATCH v3 04/20] plugins: Move function pointer in qemu_plugin_dyn_cb

2024-04-24 Thread Richard Henderson
The out-of-line function pointer is mutually exclusive with inline expansion, so move it into the union. Wrap the pointer in a structure named 'regular' to match PLUGIN_CB_REGULAR. Reviewed-by: Alex Bennée Signed-off-by: Richard Henderson --- include/qemu/plugin.h | 4 +++- accel/tcg/plugin-ge