]> git.proxmox.com Git - mirror_qemu.git/commit - hw/core/cpu.c
cpu_common_reset: wrap TCG specific code in tcg_enabled()
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 12 Jan 2017 15:02:50 +0000 (15:02 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Fri, 13 Jan 2017 14:24:36 +0000 (14:24 +0000)
commitba7d3d1858c257e39b47f7f12fa2016ffd960b11
tree69a55a615f2958f75d8bfd99352ed2c91fbf9379
parent1f5c00cfdb8114c1e3a13426588ceb64f82c9ddb
cpu_common_reset: wrap TCG specific code in tcg_enabled()

Both the cpu->tb_jmp_cache and SoftMMU TLB structures are only used
when running TCG code so we might as well skip them for anything else.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
qom/cpu.c