diff options
author | Eduardo Habkost | 2020-12-11 23:04:59 +0100 |
---|---|---|
committer | Eduardo Habkost | 2020-12-15 16:02:07 +0100 |
commit | 1b36e4f5a5de585210ea95f2257839c2312be28f (patch) | |
tree | d6c9e2ebe24cfabdad88c9a083aad686e3fdc4bd /include | |
parent | cs4231: Get rid of empty property array (diff) | |
download | qemu-1b36e4f5a5de585210ea95f2257839c2312be28f.tar.gz qemu-1b36e4f5a5de585210ea95f2257839c2312be28f.tar.xz qemu-1b36e4f5a5de585210ea95f2257839c2312be28f.zip |
cpu: Move cpu_common_props to hw/core/cpu.c
There's no reason to keep the property list separate from the CPU
class code. Move the variable to hw/core/cpu.c and make it
static.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20201211220529.2290218-3-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/core/cpu.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/core/cpu.h b/include/hw/core/cpu.h index 3d92c967ff..8e7552910d 100644 --- a/include/hw/core/cpu.h +++ b/include/hw/core/cpu.h @@ -1111,7 +1111,6 @@ AddressSpace *cpu_get_address_space(CPUState *cpu, int asidx); void QEMU_NORETURN cpu_abort(CPUState *cpu, const char *fmt, ...) GCC_FMT_ATTR(2, 3); -extern Property cpu_common_props[]; void cpu_exec_initfn(CPUState *cpu); void cpu_exec_realizefn(CPUState *cpu, Error **errp); void cpu_exec_unrealizefn(CPUState *cpu); |