plugins: Copy memory in qemu_plugin_insn_data
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 3 Apr 2024 07:24:52 +0000 (21:24 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 15 May 2024 06:55:18 +0000 (08:55 +0200)
commit4abc892362f8282450f18c4e45c5b0534461d01e
tree7f0f046c1ec6f7e04e975f134645cb2fe62f626d
parentbf4bb074b72a7dc6c9ee5379a1d6b693dcd0a5a6
plugins: Copy memory in qemu_plugin_insn_data

Instead of returning a host pointer, copy the data into
storage provided by the caller.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
contrib/plugins/execlog.c
contrib/plugins/howvec.c
include/qemu/qemu-plugin.h
plugins/api.c