@samitouri / QOSamiQemu / commits / 070b3287ab

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>

Philippe Mathieu-Daudé committed May 2, 2025 at 01:01 UTC 070b3287ab30c64a7ad605011f7d267048b2fba8
2 files changed -11
hw/core/machine.c
-8
@@ -250,14 +250,6 @@ GlobalProperty hw_compat_2_12[] = {
250 };
251 const size_t hw_compat_2_12_len = G_N_ELEMENTS(hw_compat_2_12);
252
253 -GlobalProperty hw_compat_2_11[] = {
254 - { "hpet", "hpet-offset-saved", "false" },
255 - { "virtio-blk-pci", "vectors", "2" },
256 - { "vhost-user-blk-pci", "vectors", "2" },
257 - { "e1000", "migrate_tso_props", "off" },
258 -};
259 -const size_t hw_compat_2_11_len = G_N_ELEMENTS(hw_compat_2_11);
260 -
253 MachineState *current_machine;
254
255 static char *machine_get_kernel(Object *obj, Error **errp)
include/hw/core/boards.h
-3
@@ -877,7 +877,4 @@ extern const size_t hw_compat_3_0_len;
877 extern GlobalProperty hw_compat_2_12[];
878 extern const size_t hw_compat_2_12_len;
879
880 -extern GlobalProperty hw_compat_2_11[];
881 -extern const size_t hw_compat_2_11_len;
882 -
880 #endif