From f09613cf8755ab9c2075de0172119cd71d8a1e96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Date: Fri, 2 May 2025 01:01:26 +0200 Subject: [PATCH] hw/core/machine: Remove hw_compat_2_12[] array MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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é Message-ID: <20250501230129.2596-9-philmd@linaro.org> Reviewed-by: Thomas Huth Signed-off-by: Thomas Huth --- hw/core/machine.c | 9 --------- include/hw/core/boards.h | 3 --- 2 files changed, 12 deletions(-) diff --git a/hw/core/machine.c b/hw/core/machine.c index 3e10aec07e..4770618b55 100644 --- a/hw/core/machine.c +++ b/hw/core/machine.c @@ -241,15 +241,6 @@ const size_t hw_compat_3_1_len = G_N_ELEMENTS(hw_compat_3_1); GlobalProperty hw_compat_3_0[] = {}; const size_t hw_compat_3_0_len = G_N_ELEMENTS(hw_compat_3_0); -GlobalProperty hw_compat_2_12[] = { - { "hda-audio", "use-timer", "false" }, - { "cirrus-vga", "global-vmstate", "true" }, - { "VGA", "global-vmstate", "true" }, - { "vmware-svga", "global-vmstate", "true" }, - { "qxl-vga", "global-vmstate", "true" }, -}; -const size_t hw_compat_2_12_len = G_N_ELEMENTS(hw_compat_2_12); - 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 30a55b61f6..f4ee68bbea 100644 --- a/include/hw/core/boards.h +++ b/include/hw/core/boards.h @@ -874,7 +874,4 @@ extern const size_t hw_compat_3_1_len; extern GlobalProperty hw_compat_3_0[]; extern const size_t hw_compat_3_0_len; -extern GlobalProperty hw_compat_2_12[]; -extern const size_t hw_compat_2_12_len; - #endif