Skip to contentSkip to conversation

hw/i386: drop unused PC_CPU_MODEL_IDS macro

PATCH In review Daniel P. Berrangé 2 participants 2 messages Feb 25

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hw/i386: drop unused PC_CPU_MODEL_IDS macro

This is redundant since the 2.4 machine types were dropped.

Fixes 4c82e7b34b1bf35d97e026196f5bf10ea916512c
---
 hw/i386/pc.c | 9 ---------
 1 file changed, 9 deletions(-)
hw/i386/pc.c +0 -9
index 0dd3fd01d9..2066181b65 100644
@@ -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);
 
Signature · 1 line
2.53.0