hw/i386: define _AS_LATEST() macros for machine types
authorDaniel P. Berrangé <berrange@redhat.com>
Tue, 26 Nov 2024 10:30:04 +0000 (11:30 +0100)
committerThomas Huth <thuth@redhat.com>
Wed, 11 Dec 2024 08:18:38 +0000 (09:18 +0100)
commit7956b0606879ddeddf04bcf8440aabcfe1393b9c
tree4a23447bc1d45e725cc33210eb789490e0c74e0a
parentae35f033b874c627d81d51070187fbf55f0bf1a7
hw/i386: define _AS_LATEST() macros for machine types

Follow the other architecture targets by adding extra macros for
defining a versioned machine type as the latest. This reduces the
size of the changes when introducing new machine types at the start
of each release cycle.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-ID: <20240910163041.3764176-1-berrange@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Message-ID: <20241126103005.3794748-2-cohuck@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/i386/pc_piix.c
hw/i386/pc_q35.c
include/hw/i386/pc.h