qemu-s390x
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 04/14] hw/ppc: convert 'spapr' machine definitions to use new


From: Thomas Huth
Subject: Re: [PATCH 04/14] hw/ppc: convert 'spapr' machine definitions to use new macros
Date: Thu, 2 May 2024 13:57:37 +0200
User-agent: Mozilla Thunderbird

On 01/05/2024 20.27, Daniel P. Berrangé wrote:
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.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
  hw/ppc/spapr.c | 93 +++++++++++++++++++++++++++-----------------------
  1 file changed, 51 insertions(+), 42 deletions(-)

Reviewed-by: Thomas Huth <thuth@redhat.com>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]