]> git.proxmox.com Git - mirror_qemu.git/blobdiff - exec.c
cputlb: destroy CPUTLB with tlb_destroy
[mirror_qemu.git] / exec.c
diff --git a/exec.c b/exec.c
index 9c8f558590d2396df2bb385007a91e6feaa2d6b5..d6712fba7eb08b6800fb1abc68d5b0fbde1e010d 100644 (file)
--- a/exec.c
+++ b/exec.c
@@ -892,6 +892,7 @@ void cpu_exec_unrealizefn(CPUState *cpu)
 {
     CPUClass *cc = CPU_GET_CLASS(cpu);
 
+    tlb_destroy(cpu);
     cpu_list_remove(cpu);
 
     if (cc->vmsd != NULL) {