From b1feb17eaac8adaa5038039e38a7dc97d009efc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Date: Wed, 25 Feb 2026 16:54:00 +0000 Subject: [PATCH] hw/i386: drop unused PC_CPU_MODEL_IDS macro MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is redundant since the 2.4 machine types were dropped. Fixes: 4c82e7b34b1bf35d97e026196f5bf10ea916512c Signed-off-by: Daniel P. Berrangé Reviewed-by: Philippe Mathieu-Daudé Message-ID: <20260225165400.605941-1-berrange@redhat.com> Signed-off-by: Philippe Mathieu-Daudé --- hw/i386/pc.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/hw/i386/pc.c b/hw/i386/pc.c index a38634e357..052226baa5 100644 --- a/hw/i386/pc.c +++ b/hw/i386/pc.c @@ -73,15 +73,6 @@ #include "hw/xen/xen-bus.h" #endif -/* - * Helper for setting model-id for CPU models that changed model-id - * depending on QEMU versions up to QEMU 2.4. - */ -#define PC_CPU_MODEL_IDS(v) \ - { "qemu32-" TYPE_X86_CPU, "model-id", "QEMU Virtual CPU version " v, },\ - { "qemu64-" TYPE_X86_CPU, "model-id", "QEMU Virtual CPU version " v, },\ - { "athlon-" TYPE_X86_CPU, "model-id", "QEMU Virtual CPU version " v, }, - GlobalProperty pc_compat_10_2[] = {}; const size_t pc_compat_10_2_len = G_N_ELEMENTS(pc_compat_10_2);