Commit 070b3287ab for qemu.org
commit 070b3287ab30c64a7ad605011f7d267048b2fba8
Author: Philippe Mathieu-Daudé <philmd@linaro.org>
Date: Fri May 2 01:01:22 2025 +0200
hw/core/machine: Remove hw_compat_2_11[] array
The hw_compat_2_11[] array was only used by the pc-q35-2.11,
pc-i440fx-2.11 and s390-ccw-virtio-2.11 machines, which got
removed. Remove it.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20250501230129.2596-5-philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
diff --git a/hw/core/machine.c b/hw/core/machine.c
index 285adf1e07..3e10aec07e 100644
--- a/hw/core/machine.c
+++ b/hw/core/machine.c
@@ -250,14 +250,6 @@ GlobalProperty hw_compat_2_12[] = {
};
const size_t hw_compat_2_12_len = G_N_ELEMENTS(hw_compat_2_12);
-GlobalProperty hw_compat_2_11[] = {
- { "hpet", "hpet-offset-saved", "false" },
- { "virtio-blk-pci", "vectors", "2" },
- { "vhost-user-blk-pci", "vectors", "2" },
- { "e1000", "migrate_tso_props", "off" },
-};
-const size_t hw_compat_2_11_len = G_N_ELEMENTS(hw_compat_2_11);
-
MachineState *current_machine;
static char *machine_get_kernel(Object *obj, Error **errp)
diff --git a/include/hw/core/boards.h b/include/hw/core/boards.h
index 54988ecbcf..30a55b61f6 100644
--- a/include/hw/core/boards.h
+++ b/include/hw/core/boards.h
@@ -877,7 +877,4 @@ extern const size_t hw_compat_3_0_len;
extern GlobalProperty hw_compat_2_12[];
extern const size_t hw_compat_2_12_len;
-extern GlobalProperty hw_compat_2_11[];
-extern const size_t hw_compat_2_11_len;
-
#endif