qemu-s390x
[Top][All Lists]
Advanced

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

Re: [PATCH v2 11/14] hw: skip registration of outdated versioned machine


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v2 11/14] hw: skip registration of outdated versioned machine types
Date: Mon, 1 Jul 2024 17:14:28 +0200
User-agent: Mozilla Thunderbird

On 20/6/24 18:57, Daniel P. Berrangé wrote:
This calls the MACHINE_VER_DELETION() macro in the machine type
registration method, so that when a versioned machine type reaches
the end of its life, it is no longer registered with QOM and thus
cannot be used.

The actual definition of the machine type should be deleted at
this point, but experience shows that can easily be forgotten.
By skipping registration the manual code deletion task can be
done at any later date.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
  hw/arm/virt.c              | 1 +
  hw/m68k/virt.c             | 1 +
  hw/ppc/spapr.c             | 1 +
  hw/s390x/s390-virtio-ccw.c | 1 +
  include/hw/i386/pc.h       | 1 +
  5 files changed, 5 insertions(+)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

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