On 3/23/22 10:17, Philippe Mathieu-Daudé wrote:
+bool rr_destroy_vcpu_thread_precheck(CPUState *cpu) +{ + if (single_tcg_cpu_thread) { + single_tcg_cpu_thread = NULL; + return true; + } + return false; +}
This would become void rr_destroy_vcpu_thread(CPUState *cpu) { if (single_tcg_cpu_thread) { g_free(single_tcg_cpu_thread); g_free(single_tcg_halt_cond); single_tcg_cpu_thread = NULL; single_tcg_halt_cond = NULL; } } r~