@samitouri / QOSamiQemu / commits / 67b0c007c6

hw/core/machine: Remove hw_compat_2_10[] array

The hw_compat_2_10[] array was only used by the pc-q35-2.10, pc-i440fx-2.10 and s390-ccw-virtio-2.10 machines, which got removed. Remove it. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20250501230129.2596-3-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 67b0c007c6a8200e351616a0075bc5796bbbc551
2 files changed -9
hw/core/machine.c
-6
@@ -258,12 +258,6 @@ GlobalProperty hw_compat_2_11[] = {
258 };
259 const size_t hw_compat_2_11_len = G_N_ELEMENTS(hw_compat_2_11);
260
261 -GlobalProperty hw_compat_2_10[] = {
262 - { "virtio-mouse-device", "wheel-axis", "false" },
263 - { "virtio-tablet-device", "wheel-axis", "false" },
264 -};
265 -const size_t hw_compat_2_10_len = G_N_ELEMENTS(hw_compat_2_10);
266 -
261 MachineState *current_machine;
262
263 static char *machine_get_kernel(Object *obj, Error **errp)
include/hw/core/boards.h
-3
@@ -880,7 +880,4 @@ extern const size_t hw_compat_2_12_len;
880 extern GlobalProperty hw_compat_2_11[];
881 extern const size_t hw_compat_2_11_len;
882
883 -extern GlobalProperty hw_compat_2_10[];
884 -extern const size_t hw_compat_2_10_len;
885 -
883 #endif