aboutsummaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-09-18 13:41:34 +0200
committerAvi Kivity <avi@redhat.com>2009-09-21 12:12:44 +0300
commit1da35753b4bb1e20a84763e500f2b1e5af066528 (patch)
treec01640c6d1eb99e6c029d6e0fe53bb2b8e0d4a55 /exec.c
parentqemu-kvm: Reindent pc_new_cpu (diff)
downloadqemu-kvm-1da35753b4bb1e20a84763e500f2b1e5af066528.tar.gz
qemu-kvm-1da35753b4bb1e20a84763e500f2b1e5af066528.tar.bz2
qemu-kvm-1da35753b4bb1e20a84763e500f2b1e5af066528.zip
Get CONFIG_CPU_EMULATION back to life
Code compile with --disable-cpu-emulation, and that don't compile tcg. This is the minimal set of changes to get it working Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/exec.c b/exec.c
index dd8881cfe..aff9ec8c5 100644
--- a/exec.c
+++ b/exec.c
@@ -3795,7 +3795,9 @@ void dump_exec_info(FILE *f,
cpu_fprintf(f, "TB flush count %d\n", tb_flush_count);
cpu_fprintf(f, "TB invalidate count %d\n", tb_phys_invalidate_count);
cpu_fprintf(f, "TLB flush count %d\n", tlb_flush_count);
+#ifdef CONFIG_PROFILER
tcg_dump_info(f, cpu_fprintf);
+#endif
}
#if !defined(CONFIG_USER_ONLY)