plugins: create CPUPluginState and migrate plugin_mask
commitc006147122dede4440c027142ce3025f64e199c0
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 27 Feb 2024 14:43:28 +0000 (27 14:43 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 28 Feb 2024 09:11:42 +0000 (28 09:11 +0000)
treee250bdbb06eca51818dd140bf3a99505b0a90fbd
parentc3d0b46645d4b95b1fa24f4911738cb59d26173e
plugins: create CPUPluginState and migrate plugin_mask

As we expand the per-vCPU data for plugins we don't want to pollute
CPUState. For now this just moves the plugin_mask (renamed to
event_mask) as the memory callbacks are accessed directly by TCG
generated code.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240227144335.1196131-23-alex.bennee@linaro.org>
accel/tcg/plugin-gen.c
hw/core/cpu-common.c
include/hw/core/cpu.h
include/qemu/plugin.h
include/qemu/typedefs.h
plugins/core.c