summary refs log tree commit diff stats
path: root/include/hw/boards.h
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2024-06-20 17:57:31 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-07-02 06:58:12 +0200
commit7fb1e06a534208910722e29260f792719c2231cc (patch)
tree74b187cf37be44cb19bfaf1deb84a3e6e309e284 /include/hw/boards.h
parentd1baf8753be6c8b9d5f3ef802e69133c91ce0c65 (diff)
downloadfocaccia-qemu-7fb1e06a534208910722e29260f792719c2231cc.tar.gz
focaccia-qemu-7fb1e06a534208910722e29260f792719c2231cc.zip
hw/s390x: convert 'ccw' machine definitions to use new macros
This changes the DEFINE_CCW_MACHINE macro to use the common
helpers for constructing versioned symbol names and strings,
bringing greater consistency across targets.

The added benefit is that it avoids the need to repeat the
version number twice in two different formats in the calls
to DEFINE_CCW_MACHINE.

A DEFINE_CCW_MACHINE_AS_LATEST helper is added so that it
is not required to pass 'false' for every single historical
machine type.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240620165742.1711389-4-berrange@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'include/hw/boards.h')
0 files changed, 0 insertions, 0 deletions