On 01/05/2024 20.27, 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.

Signed-off-by: Daniel P. Berrangé <berra...@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: Thomas Huth <th...@redhat.com>



Reply via email to