include: Move hardware version declarations to new qemu/hw-version.h
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 8 Feb 2022 20:08:56 +0000 (20:08 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 21 Feb 2022 13:30:20 +0000 (13:30 +0000)
commit15e09912b74c01bf8a8eebb4e61f4d0dbfe74513
treee0ba25f81f6badae686aa0a7ca510a056c0361f7
parentad768e6f2a3397ec88ae874ad743df5d7c8c1936
include: Move hardware version declarations to new qemu/hw-version.h

The "hardware version" machinery (qemu_set_hw_version(),
qemu_hw_version(), and the QEMU_HW_VERSION define) is used by fewer
than 10 files.  Move it out from osdep.h into a new
qemu/hw-version.h.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220208200856.3558249-6-peter.maydell@linaro.org
hw/arm/nseries.c
hw/ide/core.c
hw/scsi/megasas.c
hw/scsi/scsi-bus.c
hw/scsi/scsi-disk.c
include/qemu/hw-version.h [new file with mode: 0644]
include/qemu/osdep.h
softmmu/vl.c
target/i386/cpu.c
target/s390x/cpu_models.c
util/osdep.c