aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi/parser.py
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2024-06-20 17:57:32 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-07-02 06:58:15 +0200
commit8d40cc1483f94a9584f77452879f8815beb4ef14 (patch)
tree8719d2b18a849063370d6e8ebcfa2719b873bc45 /scripts/qapi/parser.py
parent7fb1e06a534208910722e29260f792719c2231cc (diff)
downloadqemu-8d40cc1483f94a9584f77452879f8815beb4ef14.zip
qemu-8d40cc1483f94a9584f77452879f8815beb4ef14.tar.gz
qemu-8d40cc1483f94a9584f77452879f8815beb4ef14.tar.bz2
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 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions