diff options
| author | Daniel P. Berrangé <berrange@redhat.com> | 2024-06-20 17:57:32 +0100 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-07-02 06:58:15 +0200 |
| commit | 8d40cc1483f94a9584f77452879f8815beb4ef14 (patch) | |
| tree | 8719d2b18a849063370d6e8ebcfa2719b873bc45 /include/hw/boards.h | |
| parent | 7fb1e06a534208910722e29260f792719c2231cc (diff) | |
| download | focaccia-qemu-8d40cc1483f94a9584f77452879f8815beb4ef14.tar.gz focaccia-qemu-8d40cc1483f94a9584f77452879f8815beb4ef14.zip | |
hw/ppc: convert 'spapr' machine definitions to use new macros
This changes the DEFINE_SPAPR_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_SPAPR_MACHINE. A DEFINE_SPAPR_MACHINE_AS_LATEST helper is added so that it is not required to pass 'false' for every single historical machine type. Due to the odd-ball '2.12-sxxm' machine type version, this commit introduces a DEFINE_SPAPR_MACHINE_TAGGED helper to allow defining of "tagged" machine types which have a string suffix. Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Message-ID: <20240620165742.1711389-5-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