On 2/9/22 07:08, Peter Maydell wrote:
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.mayd...@linaro.org>
---
  include/qemu/hw-version.h | 27 +++++++++++++++++++++++++++
  include/qemu/osdep.h      | 16 ----------------
  hw/arm/nseries.c          |  1 +
  hw/ide/core.c             |  1 +
  hw/scsi/megasas.c         |  1 +
  hw/scsi/scsi-bus.c        |  1 +
  hw/scsi/scsi-disk.c       |  1 +
  softmmu/vl.c              |  1 +
  target/i386/cpu.c         |  1 +
  target/s390x/cpu_models.c |  1 +
  util/osdep.c              |  1 +
  11 files changed, 36 insertions(+), 16 deletions(-)
  create mode 100644 include/qemu/hw-version.h

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to