[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 02/18] hw/i386/pc: Remove pc_compat_2_8[] array
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 02/18] hw/i386/pc: Remove pc_compat_2_8[] array |
Date: |
Thu, 1 May 2025 23:04:40 +0200 |
The pc_compat_2_8[] array was only used by the pc-q35-2.8
and pc-i440fx-2.8 machines, which got removed. Remove it.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
include/hw/i386/pc.h | 3 ---
hw/i386/pc.c | 9 ---------
2 files changed, 12 deletions(-)
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h
index 319ec82f709..db02cbc0d65 100644
--- a/include/hw/i386/pc.h
+++ b/include/hw/i386/pc.h
@@ -286,9 +286,6 @@ extern const size_t pc_compat_2_10_len;
extern GlobalProperty pc_compat_2_9[];
extern const size_t pc_compat_2_9_len;
-extern GlobalProperty pc_compat_2_8[];
-extern const size_t pc_compat_2_8_len;
-
#define DEFINE_PC_MACHINE(suffix, namestr, initfn, optsfn) \
static void pc_machine_##suffix##_class_init(ObjectClass *oc, \
const void *data) \
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index ee7095c89a8..5f07a44d447 100644
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
@@ -232,15 +232,6 @@ GlobalProperty pc_compat_2_9[] = {
};
const size_t pc_compat_2_9_len = G_N_ELEMENTS(pc_compat_2_9);
-GlobalProperty pc_compat_2_8[] = {
- { TYPE_X86_CPU, "tcg-cpuid", "off" },
- { "kvmclock", "x-mach-use-reliable-get-clock", "off" },
- { "ICH9-LPC", "x-smi-broadcast", "off" },
- { TYPE_X86_CPU, "vmware-cpuid-freq", "off" },
- { "Haswell-" TYPE_X86_CPU, "stepping", "1" },
-};
-const size_t pc_compat_2_8_len = G_N_ELEMENTS(pc_compat_2_8);
-
/*
* @PC_FW_DATA:
* Size of the chunk of memory at the top of RAM for the BIOS ACPI tables
--
2.47.1
- [PATCH 00/18] hw/i386/pc: Remove deprecated 2.8 and 2.9 PC machines, Philippe Mathieu-Daudé, 2025/05/01
- [PATCH 01/18] hw/i386/pc: Remove deprecated pc-q35-2.8 and pc-i440fx-2.8 machines, Philippe Mathieu-Daudé, 2025/05/01
- [PATCH 02/18] hw/i386/pc: Remove pc_compat_2_8[] array,
Philippe Mathieu-Daudé <=
- [PATCH 03/18] hw/southbridge/ich9: Remove ICH9_LPC_SMI_F_BROADCAST_BIT definition, Philippe Mathieu-Daudé, 2025/05/01
- [PATCH 04/18] hw/i386/kvm: Remove KVMClockState::mach_use_reliable_get_clock field, Philippe Mathieu-Daudé, 2025/05/01
- [PATCH 05/18] hw/core/machine: Remove hw_compat_2_8[] array, Philippe Mathieu-Daudé, 2025/05/01
- [PATCH 06/18] hw/block/pflash: Remove PFlashCFI01::old_multiple_chip_handling field, Philippe Mathieu-Daudé, 2025/05/01
- [PATCH 08/18] hw/virtio/virtio-pci: Remove VIRTIO_PCI_FLAG_INIT_DEVERR definition, Philippe Mathieu-Daudé, 2025/05/01
- [PATCH 07/18] hw/pci/pcie: Remove QEMU_PCIE_EXTCAP_INIT definition, Philippe Mathieu-Daudé, 2025/05/01
- [PATCH 09/18] hw/virtio/virtio-pci: Remove VIRTIO_PCI_FLAG_INIT_LNKCTL definition, Philippe Mathieu-Daudé, 2025/05/01
- [PATCH 10/18] hw/virtio/virtio-pci: Remove VIRTIO_PCI_FLAG_INIT_PM definition, Philippe Mathieu-Daudé, 2025/05/01
- [PATCH 12/18] hw/nvram/fw_cfg: Inline fw_cfg_file_slots(), Philippe Mathieu-Daudé, 2025/05/01
- [PATCH 11/18] hw/nvram/fw_cfg: Remove FWCfgState::file_slots field, Philippe Mathieu-Daudé, 2025/05/01