@samitouri / QOSamiQemu / commits / b1feb17eaa

hw/i386: drop unused PC_CPU_MODEL_IDS macro

This is redundant since the 2.4 machine types were dropped. Fixes: 4c82e7b34b1bf35d97e026196f5bf10ea916512c Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20260225165400.605941-1-berrange@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

Daniel P. Berrangé committed Feb 25, 2026 at 16:54 UTC b1feb17eaac8adaa5038039e38a7dc97d009efc2
1 file changed -9
hw/i386/pc.c
-9
@@ -73,15 +73,6 @@
73 #include "hw/xen/xen-bus.h"
74 #endif
75
76 -/*
77 - * Helper for setting model-id for CPU models that changed model-id
78 - * depending on QEMU versions up to QEMU 2.4.
79 - */
80 -#define PC_CPU_MODEL_IDS(v) \
81 - { "qemu32-" TYPE_X86_CPU, "model-id", "QEMU Virtual CPU version " v, },\
82 - { "qemu64-" TYPE_X86_CPU, "model-id", "QEMU Virtual CPU version " v, },\
83 - { "athlon-" TYPE_X86_CPU, "model-id", "QEMU Virtual CPU version " v, },
84 -
76 GlobalProperty pc_compat_10_2[] = {};
77 const size_t pc_compat_10_2_len = G_N_ELEMENTS(pc_compat_10_2);
78