]> git.proxmox.com Git - mirror_qemu.git/blobdiff - translate-all.c
9pfs: handle walk of ".." in the root directory
[mirror_qemu.git] / translate-all.c
index efeba298b9eb12bce524892ceefb056247e9e36a..0dd6466e071fdaec586f69c4032d2468284958a8 100644 (file)
@@ -834,6 +834,9 @@ static void page_flush_tb(void)
 /* XXX: tb_flush is currently not thread safe */
 void tb_flush(CPUState *cpu)
 {
+    if (!tcg_enabled()) {
+        return;
+    }
 #if defined(DEBUG_FLUSH)
     printf("qemu: flush code_size=%ld nb_tbs=%d avg_tb_size=%ld\n",
            (unsigned long)(tcg_ctx.code_gen_ptr - tcg_ctx.code_gen_buffer),