hw/i386: convert 'i440fx' machine definitions to use new macros
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 20 Jun 2024 16:57:34 +0000 (17:57 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 2 Jul 2024 04:58:21 +0000 (06:58 +0200)
commita0220c65c4037349031ca8ff3f50e312b9bb9286
tree39ee14b8c32f714251cb7b7b21dfe5c7bbfd9a48
parent1d32d1d136c8bbc5a3e1760220a8585eeaea0287
hw/i386: convert 'i440fx' machine definitions to use new macros

This changes the DEFINE_I440FX_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_I440FX_MACHINE.

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-7-berrange@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/i386/pc_piix.c
include/hw/i386/pc.h