aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-05-12 10:39:34 +0200
committerThomas Huth <thuth@redhat.com>2025-05-30 09:52:08 +0200
commit60ce3f67bea0a782a58cf4f71840e8d20ef8ddfc (patch)
tree7b988961a6e89833773ca1d3b770ae4e1f43eb62
parent4c82e7b34b1bf35d97e026196f5bf10ea916512c (diff)
downloadqemu-60ce3f67bea0a782a58cf4f71840e8d20ef8ddfc.zip
qemu-60ce3f67bea0a782a58cf4f71840e8d20ef8ddfc.tar.gz
qemu-60ce3f67bea0a782a58cf4f71840e8d20ef8ddfc.tar.bz2
hw/core/machine: Remove hw_compat_2_4[] array
The hw_compat_2_4[] array was only used by the pc-q35-2.4 and pc-i440fx-2.4 machines, which got removed. Remove it. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Reviewed-by: Xiaoyao Li <xiaoyao.li@intel.com> Message-ID: <20250512083948.39294-6-philmd@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
-rw-r--r--hw/core/machine.c9
-rw-r--r--include/hw/boards.h3
2 files changed, 0 insertions, 12 deletions
diff --git a/hw/core/machine.c b/hw/core/machine.c
index c3f3a50..15cd2bc 100644
--- a/hw/core/machine.c
+++ b/hw/core/machine.c
@@ -294,15 +294,6 @@ GlobalProperty hw_compat_2_5[] = {
};
const size_t hw_compat_2_5_len = G_N_ELEMENTS(hw_compat_2_5);
-GlobalProperty hw_compat_2_4[] = {
- { "e1000", "extra_mac_registers", "off" },
- { "virtio-pci", "x-disable-pcie", "on" },
- { "virtio-pci", "migrate-extra", "off" },
- { "fw_cfg_mem", "dma_enabled", "off" },
- { "fw_cfg_io", "dma_enabled", "off" }
-};
-const size_t hw_compat_2_4_len = G_N_ELEMENTS(hw_compat_2_4);
-
MachineState *current_machine;
static char *machine_get_kernel(Object *obj, Error **errp)
diff --git a/include/hw/boards.h b/include/hw/boards.h
index a7b1fcf..03e7cbe 100644
--- a/include/hw/boards.h
+++ b/include/hw/boards.h
@@ -866,7 +866,4 @@ extern const size_t hw_compat_2_6_len;
extern GlobalProperty hw_compat_2_5[];
extern const size_t hw_compat_2_5_len;
-extern GlobalProperty hw_compat_2_4[];
-extern const size_t hw_compat_2_4_len;
-
#endif