aboutsummaryrefslogtreecommitdiff
path: root/plugins/core.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-01-09 23:38:04 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-05-06 11:24:14 +0200
commit80f034c5b2040b3cfea978361dfd7d813e3c75d9 (patch)
tree203f841efbdca0ef9911433a3cefef7a9dcf1a87 /plugins/core.c
parentfc44d592db69547ca2fc1ec9ee41e6ea81734400 (diff)
accel/tcg: Move @plugin_mem_cbs from CPUState to CPUNegativeOffsetState
@plugin_mem_cbs is accessed by tcg generated code, move it to CPUNegativeOffsetState. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20240429213050.55177-4-philmd@linaro.org>
Diffstat (limited to 'plugins/core.c')
-rw-r--r--plugins/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/core.c b/plugins/core.c
index 081323dafc..1e58a57bf1 100644
--- a/plugins/core.c
+++ b/plugins/core.c
@@ -533,7 +533,7 @@ void exec_inline_op(struct qemu_plugin_dyn_cb *cb, int cpu_index)
void qemu_plugin_vcpu_mem_cb(CPUState *cpu, uint64_t vaddr,
MemOpIdx oi, enum qemu_plugin_mem_rw rw)
{
- GArray *arr = cpu->plugin_mem_cbs;
+ GArray *arr = cpu->neg.plugin_mem_cbs;
size_t i;
if (arr == NULL) {