Emilio Cota <c...@braap.org> writes:
> Fixes: #1381 > > Signed-off-by: Emilio Cota <c...@braap.org> > --- > accel/tcg/cpu-exec.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/accel/tcg/cpu-exec.c b/accel/tcg/cpu-exec.c > index 356fe348de..de4ba6e23c 100644 > --- a/accel/tcg/cpu-exec.c > +++ b/accel/tcg/cpu-exec.c > @@ -504,6 +504,7 @@ static void cpu_exec_exit(CPUState *cpu) > if (cc->tcg_ops->cpu_exec_exit) { > cc->tcg_ops->cpu_exec_exit(cpu); > } > + g_assert(cpu->plugin_mem_cbs == NULL); > } > > void cpu_exec_step_atomic(CPUState *cpu) > @@ -1031,6 +1032,7 @@ int cpu_exec(CPUState *cpu) > > cpu_loop_exec_tb(cpu, tb, pc, &last_tb, &tb_exit); > > + g_assert(cpu->plugin_mem_cbs == NULL); > /* Try to align the host and virtual clocks > if the guest is in advance */ > align_clocks(&sc, cpu); Can we assert this anywhere else? This fails with non-plugin enabled builds: https://gitlab.com/stsquad/qemu/-/pipelines/741478109/failures -- Alex Bennée Virtualisation Tech Lead @ Linaro