aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi/parser.py
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2024-06-20 17:57:35 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-07-02 06:58:24 +0200
commit3e3ead554d99ca02d74be84f3427044cb138c9df (patch)
tree7064b77c7fd11f2b75a661f48bd3b6754bad7ee7 /scripts/qapi/parser.py
parenta0220c65c4037349031ca8ff3f50e312b9bb9286 (diff)
downloadqemu-3e3ead554d99ca02d74be84f3427044cb138c9df.zip
qemu-3e3ead554d99ca02d74be84f3427044cb138c9df.tar.gz
qemu-3e3ead554d99ca02d74be84f3427044cb138c9df.tar.bz2
hw/i386: convert 'q35' machine definitions to use new macros
This changes the DEFINE_Q35_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 thrice in three different formats in the calls to DEFINE_Q35_MACHINE. Due to the odd-ball '4.0.1' machine type version, this commit introduces a DEFINE_Q35_BUGFIX helper, to allow defining of "bugfix" machine types which have a three digit version. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20240620165742.1711389-8-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