hw/core/machine: Remove hw_compat_2_12[] array
The hw_compat_2_12[] array was only used by the pc-q35-2.12, pc-i440fx-2.12 and s390-ccw-virtio-2.12 machines, which got removed. Remove it. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20250501230129.2596-9-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
f09613cf8755ab9c2075de0172119cd71d8a1e96
2 files changed
-12
hw/core/machine.c
-9
@@ -241,15 +241,6 @@ const size_t hw_compat_3_1_len = G_N_ELEMENTS(hw_compat_3_1);
241
GlobalProperty hw_compat_3_0[] = {};
242
const size_t hw_compat_3_0_len = G_N_ELEMENTS(hw_compat_3_0);
243
244
-GlobalProperty hw_compat_2_12[] = {
245
- { "hda-audio", "use-timer", "false" },
246
- { "cirrus-vga", "global-vmstate", "true" },
247
- { "VGA", "global-vmstate", "true" },
248
- { "vmware-svga", "global-vmstate", "true" },
249
- { "qxl-vga", "global-vmstate", "true" },
250
-};
251
-const size_t hw_compat_2_12_len = G_N_ELEMENTS(hw_compat_2_12);
252
-
244
MachineState *current_machine;
245
246
static char *machine_get_kernel(Object *obj, Error **errp)
include/hw/core/boards.h
-3
@@ -874,7 +874,4 @@ extern const size_t hw_compat_3_1_len;
874
extern GlobalProperty hw_compat_3_0[];
875
extern const size_t hw_compat_3_0_len;
876
877
-extern GlobalProperty hw_compat_2_12[];
878
-extern const size_t hw_compat_2_12_len;
879
-
877
#endif