On 4/18/24 12:25, Philippe Mathieu-Daudé wrote:
"qemu/plugin.h" only include the huge "hw/core/cpu.h"
because qemu_plugin_disable_mem_helpers() accesses
CPUState::plugin_mem_cbs. In order to avoid including
it, un-inline qemu_plugin_disable_mem_helpers().
Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org>
---
include/qemu/plugin.h | 6 +-----
plugins/core.c | 5 +++++
2 files changed, 6 insertions(+), 5 deletions(-)
I don't see how this helps.
All of the places that use qemu_plugin_disable_mem_helpers also have cpu.h.
r~