qemu/include/exec
Philippe Mathieu-Daudé 377bf6f37d softmmu: List CPU types again
Commit e0220bb5b2 made cpus.c target-agnostic but didn't notice
the cpu_list() function is only defined in target-specific code
in "cpu.h". Move list_cpus() declaration to "exec/cpu-common.h"
because this function is not softmmu-specific and can also be
used by user-mode, along with moving its implementation to cpu.c,
which is compiled per target.

Fixes: e0220bb5b2 ("softmmu: Build target-agnostic objects once")
Reported-by: Max Filippov <jcmvbkbc@gmail.com>
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220314140108.26222-1-philippe.mathieu.daude@gmail.com>
Tested-by: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2022-03-16 08:43:10 +01:00
..
user
address-spaces.h
confidential-guest-support.h
cpu_ldst.h exec/cpu_ldst: Include 'cpu.h' to get target_ulong definition 2022-03-06 13:15:42 +01:00
cpu-all.h exec: Make cpu_memory_rw_debug() target agnostic 2022-03-06 13:15:42 +01:00
cpu-common.h softmmu: List CPU types again 2022-03-16 08:43:10 +01:00
cpu-defs.h
cputlb.h
exec-all.h exec/cpu: Make address_space_init/reloading_memory_map target agnostic 2022-03-06 13:15:42 +01:00
gdbstub.h exec/gdbstub: Make gdb_exit() / gdb_set_stop_cpu() target agnostic 2022-03-06 13:15:42 +01:00
gen-icount.h accel/tcg: introduce CF_NOIRQ 2021-11-29 15:12:37 +00:00
helper-gen.h tracing: excise the tcg related from tracetool 2022-02-09 12:08:42 +00:00
helper-head.h tcg: Remove dh_alias indirection for dh_typecode 2022-02-28 08:04:06 -10:00
helper-proto.h tracing: remove the trace-tcg includes from the build 2022-02-09 12:08:42 +00:00
helper-tcg.h tracing: remove the trace-tcg includes from the build 2022-02-09 12:08:42 +00:00
hwaddr.h
ioport.h
log.h
memattrs.h
memop.h exec/memop: Adding signed quad and octo defines 2022-01-08 15:46:10 +10:00
memopidx.h
memory_ldst_cached.h.inc
memory_ldst_phys.h.inc
memory_ldst.h.inc
memory-internal.h
memory.h exec/memory: Extract address_space_set() from dma_memory_set() 2022-01-20 09:09:37 +01:00
page-vary.h
plugin-gen.h plugins: try and make plugin_insn_append more ergonomic 2021-11-04 10:32:01 +00:00
poison.h target: Use CPUArchState as interface to target-specific CPU state 2022-03-06 22:23:09 +01:00
ram_addr.h memory: introduce total_dirty_pages to stat dirty pages 2021-11-01 22:56:44 +01:00
ramblock.h exec/ramblock: Add missing includes 2022-02-21 10:18:06 +01:00
ramlist.h qapi: introduce x-query-ramblock QMP command 2021-11-02 15:55:14 +00:00
softmmu-semi.h
target_page.h
translate-all.h
translator.h