On 2/7/25 17:34, Richard Henderson wrote:
On 7/1/25 08:40, Philippe Mathieu-Daudé wrote:
Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org>
---
accel/tcg/tcg-accel-ops-rr.h | 2 ++
accel/tcg/tcg-accel-ops-rr.c | 5 +++++
2 files changed, 7 insertions(+)
diff --git a/accel/tcg/tcg-accel-ops-rr.h b/accel/tcg/tcg-accel-ops-rr.h
index a73fe5b94a6..4234ef2f706 100644
--- a/accel/tcg/tcg-accel-ops-rr.h
+++ b/accel/tcg/tcg-accel-ops-rr.h
@@ -20,4 +20,6 @@ void rr_start_vcpu_thread(CPUState *cpu);
int rr_cpu_exec(CPUState *cpu);
+void rr_vcpu_destroy(CPUState *cpu);
+
#endif /* TCG_ACCEL_OPS_RR_H */
diff --git a/accel/tcg/tcg-accel-ops-rr.c b/accel/tcg/tcg-accel-ops-rr.c
index a9150802369..95c7d3a3172 100644
--- a/accel/tcg/tcg-accel-ops-rr.c
+++ b/accel/tcg/tcg-accel-ops-rr.c
@@ -137,6 +137,11 @@ static void rr_deal_with_unplugged_cpus(void)
}
}
+void rr_vcpu_destroy(CPUState *cpu)
+{
+ /* Already dealt with in rr_deal_with_unplugged_cpus() */
+}
+
static void rr_force_rcu(Notifier *notify, void *data)
{
rr_kick_next_cpu();
Why? Is this hook mandatory?
No, I'll drop.