hw/core/machine: Remove hw_compat_2_8[] array
The hw_compat_2_8[] array was only used by the pc-q35-2.8 and pc-i440fx-2.8 machines, which got removed. Remove it. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20250501210456.89071-6-philmd@linaro.org> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com> Message-ID: <20260225092024.794595-5-thuth@redhat.com>
Philippe Mathieu-Daudé committed
Feb 25, 2026 at 10:20 UTC
37e0487210e6e2ccb837a66c29c75f96689cb243
2 files changed
-17
hw/core/machine.c
-14
@@ -272,20 +272,6 @@ GlobalProperty hw_compat_2_9[] = {
272
};
273
const size_t hw_compat_2_9_len = G_N_ELEMENTS(hw_compat_2_9);
274
275
-GlobalProperty hw_compat_2_8[] = {
276
- { "fw_cfg_mem", "x-file-slots", "0x10" },
277
- { "fw_cfg_io", "x-file-slots", "0x10" },
278
- { "pflash_cfi01", "old-multiple-chip-handling", "on" },
279
- { "pci-bridge", "shpc", "on" },
280
- { TYPE_PCI_DEVICE, "x-pcie-extcap-init", "off" },
281
- { "virtio-pci", "x-pcie-deverr-init", "off" },
282
- { "virtio-pci", "x-pcie-lnkctl-init", "off" },
283
- { "virtio-pci", "x-pcie-pm-init", "off" },
284
- { "cirrus-vga", "vgamem_mb", "8" },
285
- { "isa-cirrus-vga", "vgamem_mb", "8" },
286
-};
287
-const size_t hw_compat_2_8_len = G_N_ELEMENTS(hw_compat_2_8);
288
-
275
MachineState *current_machine;
276
277
static char *machine_get_kernel(Object *obj, Error **errp)
include/hw/core/boards.h
-3
@@ -886,7 +886,4 @@ extern const size_t hw_compat_2_10_len;
886
extern GlobalProperty hw_compat_2_9[];
887
extern const size_t hw_compat_2_9_len;
888
889
-extern GlobalProperty hw_compat_2_8[];
890
-extern const size_t hw_compat_2_8_len;
891
-
889
#endif