|
@@ -1064,13 +1064,12 @@ void tcg_exec_realizefn(CPUState *cpu, Error **errp)
|
|
/* undo the initializations in reverse order */
|
|
/* undo the initializations in reverse order */
|
|
void tcg_exec_unrealizefn(CPUState *cpu)
|
|
void tcg_exec_unrealizefn(CPUState *cpu)
|
|
{
|
|
{
|
|
- qemu_plugin_vcpu_exit_hook(cpu);
|
|
|
|
#ifndef CONFIG_USER_ONLY
|
|
#ifndef CONFIG_USER_ONLY
|
|
tcg_iommu_free_notifier_list(cpu);
|
|
tcg_iommu_free_notifier_list(cpu);
|
|
#endif /* !CONFIG_USER_ONLY */
|
|
#endif /* !CONFIG_USER_ONLY */
|
|
|
|
|
|
tlb_destroy(cpu);
|
|
tlb_destroy(cpu);
|
|
- g_free(cpu->tb_jmp_cache);
|
|
|
|
|
|
+ g_free_rcu(cpu->tb_jmp_cache, rcu);
|
|
}
|
|
}
|
|
|
|
|
|
#ifndef CONFIG_USER_ONLY
|
|
#ifndef CONFIG_USER_ONLY
|