plugins: Use DisasContextBase for qemu_plugin_insn_haddr
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 3 Apr 2024 19:54:43 +0000 (09:54 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 15 May 2024 06:55:18 +0000 (08:55 +0200)
commitd3ace105900c43d1eb034b81ce0951e6110ab990
tree180f5fe787b3da20b8bd262ee4c1392d16c62eab
parente501325991815e09297a048ffb0be81411bbe34a
plugins: Use DisasContextBase for qemu_plugin_insn_haddr

We can delay the computation of haddr until the plugin
actually requests it.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/plugin-gen.c
include/qemu/plugin.h
plugins/api.c