hw/m68k: convert 'virt' machine definitions to use new macros
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 20 Jun 2024 16:57:33 +0000 (17:57 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 2 Jul 2024 04:58:18 +0000 (06:58 +0200)
commit1d32d1d136c8bbc5a3e1760220a8585eeaea0287
treebf763f454ac4d30ed1be0291078d373144f00897
parent8d40cc1483f94a9584f77452879f8815beb4ef14
hw/m68k: convert 'virt' machine definitions to use new macros

This changes the DEFINE_VIRT_MACHINE macro to use the common
helpers for constructing versioned symbol names and strings,
bringing greater consistency across targets.

A DEFINE_VIRT_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-6-berrange@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/m68k/virt.c