Re: [PATCH] plugins: fix qemu_plugin_reset

2024-10-14 Thread Pierrick Bouvier
Sent a v2 to fix a leak issue with tcg_ctx->plugin_tb. On 10/14/24 15:33, Pierrick Bouvier wrote: 34e5e1 refactored the plugin context initialization. After this change, tcg_ctx->plugin_insn is not reset inconditionnally anymore, but only if one plugin at least is active. When uninstalling the

Re: [PATCH] plugins: fix qemu_plugin_reset

2024-10-14 Thread Richard Henderson
On 10/14/24 15:33, Pierrick Bouvier wrote: 34e5e1 refactored the plugin context initialization. After this change, tcg_ctx->plugin_insn is not reset inconditionnally anymore, but only if one plugin at least is active. When uninstalling the last plugin active, we stopped reinitializing tcg_ctx->p

[PATCH] plugins: fix qemu_plugin_reset

2024-10-14 Thread Pierrick Bouvier
34e5e1 refactored the plugin context initialization. After this change, tcg_ctx->plugin_insn is not reset inconditionnally anymore, but only if one plugin at least is active. When uninstalling the last plugin active, we stopped reinitializing tcg_ctx->plugin_insn, which leads to memory callbacks b