]> git.proxmox.com Git - mirror_qemu.git/commit - include/hw/core/cpu.h
Revert "cpu: Move cpu_common_props to hw/core/cpu.c"
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 22 Aug 2021 07:25:28 +0000 (00:25 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 15 Oct 2021 23:39:15 +0000 (16:39 -0700)
commit995b87dedc78b0467f5f18bbc3546072ba97516a
tree576984e72885c3c45e0ba8f82716f6c3f4fa4fb4
parent02bf7fa022feae36b0f818b5ee30daccef8615fd
Revert "cpu: Move cpu_common_props to hw/core/cpu.c"

This reverts commit 1b36e4f5a5de585210ea95f2257839c2312be28f.

Despite a comment saying why cpu_common_props cannot be placed in
a file that is compiled once, it was moved anyway.  Revert that.

Since then, Property is not defined in hw/core/cpu.h, so it is now
easier to declare a function to install the properties rather than
the Property array itself.

Cc: Eduardo Habkost <ehabkost@redhat.com>
Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
cpu.c
hw/core/cpu-common.c
include/hw/core/cpu.h