Re: [PATCH v2 09/33] plugins: Copy memory in qemu_plugin_insn_data

2024-04-29 Thread Philippe Mathieu-Daudé
On 25/4/24 01:31, Richard Henderson wrote: Instead of returning a host pointer, copy the data into storage provided by the caller. Signed-off-by: Richard Henderson --- include/qemu/qemu-plugin.h | 15 +++ contrib/plugins/execlog.c | 5 +++-- contrib/plugins/howvec.c | 4 ++-

[PATCH v2 09/33] plugins: Copy memory in qemu_plugin_insn_data

2024-04-24 Thread Richard Henderson
Instead of returning a host pointer, copy the data into storage provided by the caller. Signed-off-by: Richard Henderson --- include/qemu/qemu-plugin.h | 15 +++ contrib/plugins/execlog.c | 5 +++-- contrib/plugins/howvec.c | 4 ++-- plugins/api.c | 7 +-- 4 fi