Skip to content

hw/i386/pc: Remove deprecated 2.8 and 2.9 PC machines

Philippe Mathieu-Daudé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest18 patches 25 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18hw/i386/pc: Remove deprecated pc-q35-2.8 and pc-i440fx-2.8 machineshw/i386/pc_piix.c hw/i386/pc_q35.c+0 -181 reply
2/18hw/i386/pc: Remove pc_compat_2_8[] arrayhw/i386/pc.c include/hw/i386/pc.h+0 -121 reply
3/18hw/southbridge/ich9: Remove ICH9_LPC_SMI_F_BROADCAST_BIT definitionhw/acpi/ich9.c hw/isa/lpc_ich9.c include/hw/southbridge/ich9.h+5 -244 replies
4/18hw/i386/kvm: Remove KVMClockState::mach_use_reliable_get_clock fieldhw/i386/kvm/clock.c+0 -181 reply
5/18hw/core/machine: Remove hw_compat_2_8[] arrayhw/core/machine.c include/hw/boards.h+0 -171 reply
6/18hw/block/pflash: Remove PFlashCFI01::old_multiple_chip_handling fieldhw/block/pflash_cfi01.c+3 -112 replies
7/18hw/pci/pcie: Remove QEMU_PCIE_EXTCAP_INIT definitionhw/pci/pci.c hw/pci/pcie.c include/hw/pci/pci.h+0 -91 reply
8/18hw/virtio/virtio-pci: Remove VIRTIO_PCI_FLAG_INIT_DEVERR definitionhw/virtio/virtio-pci.c include/hw/virtio/virtio-pci.h+2 -101 reply
9/18hw/virtio/virtio-pci: Remove VIRTIO_PCI_FLAG_INIT_LNKCTL definitionhw/virtio/virtio-pci.c include/hw/virtio/virtio-pci.h+2 -101 reply
10/18hw/virtio/virtio-pci: Remove VIRTIO_PCI_FLAG_INIT_PM definitionhw/virtio/virtio-pci.c include/hw/virtio/virtio-pci.h+5 -181 reply
11/18hw/nvram/fw_cfg: Remove FWCfgState::file_slots fieldhw/nvram/fw_cfg.c include/hw/nvram/fw_cfg.h+1 -241 reply
12/18hw/nvram/fw_cfg: Inline fw_cfg_file_slots()hw/nvram/fw_cfg.c+4 -93 replies
13/18hw/i386/pc: Remove deprecated pc-q35-2.9 and pc-i440fx-2.9 machineshw/i386/pc_piix.c hw/i386/pc_q35.c+0 -181 reply
14/18hw/i386/pc: Remove pc_compat_2_9[] arrayhw/i386/pc.c include/hw/i386/pc.h+0 -81 reply
15/18hw/core/machine: Remove hw_compat_2_9[] arrayhw/core/machine.c include/hw/boards.h+0 -111 reply
16/18hw/net/virtio-net: Remove VirtIONet::mtu_bypass_backend fieldhw/net/virtio-net.c include/hw/virtio/virtio-net.h+2 -71 reply
17/18hw/pci-bridge/gen_pcie_rp: Remove GenPCIERootPort::migrate_msix fieldhw/pci-bridge/gen_pcie_root_port.c+2 -141 reply
18/18hw/i386/x86-iommu: Remove X86IOMMUState::pt_supported fieldhw/i386/amd_iommu.c hw/i386/intel_iommu.c hw/i386/x86-iommu.c +1 more+4 -232 replies

Reviews trailers per patch

14 of 18 patches have a Reviewed-by or Acked-by.

PatchIgor MammedovThomas Huth
1/18R-b
2/18R-b
3/18R-b R-b
4/18R-b
5/18R-b
6/18R-b R-b
7/18
8/18R-b
9/18R-b
10/18R-b
11/18
12/18
13/18R-b
14/18R-b
15/18R-b
16/18R-b
17/18R-b
18/18

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/18] hw/i386/pc: Remove deprecated 2.8 and 2.9 PC machines

The versioned 'pc' and 'q35' machines up to 2.12 been marked as deprecated two releases ago, and are older than 6 years, so according to our support policy we can remove them.

This series only includes the 2.8 and 2.9 machines removal, as it is a big enough number of LoC removed. Rest will follow.

Based-on: <[email protected]>

Philippe Mathieu-Daudé (18):
hw/i386/pc: Remove deprecated pc-q35-2.8 and pc-i440fx-2.8 machines hw/i386/pc: Remove pc_compat_2_8[] array hw/southbridge/ich9: Remove ICH9_LPC_SMI_F_BROADCAST_BIT definition hw/i386/kvm: Remove KVMClockState::mach_use_reliable_get_clock field hw/core/machine: Remove hw_compat_2_8[] array hw/block/pflash: Remove PFlashCFI01::old_multiple_chip_handling field hw/pci/pcie: Remove QEMU_PCIE_EXTCAP_INIT definition hw/virtio/virtio-pci: Remove VIRTIO_PCI_FLAG_INIT_DEVERR definition hw/virtio/virtio-pci: Remove VIRTIO_PCI_FLAG_INIT_LNKCTL definition hw/virtio/virtio-pci: Remove VIRTIO_PCI_FLAG_INIT_PM definition hw/nvram/fw_cfg: Remove FWCfgState::file_slots field hw/nvram/fw_cfg: Inline fw_cfg_file_slots()
hw/i386/pc: Remove deprecated pc-q35-2.9 and pc-i440fx-2.9 machines hw/i386/pc: Remove pc_compat_2_9[] array
hw/core/machine: Remove hw_compat_2_9[] array hw/net/virtio-net: Remove VirtIONet::mtu_bypass_backend field hw/pci-bridge/gen_pcie_rp: Remove GenPCIERootPort::migrate_msix field hw/i386/x86-iommu: Remove X86IOMMUState::pt_supported field

 include/hw/boards.h                |  6 -----
 include/hw/i386/pc.h               |  6 -----
 include/hw/i386/x86-iommu.h        |  1 -
 include/hw/nvram/fw_cfg.h          |  1 -
 include/hw/pci/pci.h               |  2 --
 include/hw/southbridge/ich9.h      |  1 -
 include/hw/virtio/virtio-net.h     |  1 -
 include/hw/virtio/virtio-pci.h     | 12 ----------
 hw/acpi/ich9.c                     |  6 ++---
 hw/block/pflash_cfi01.c            | 14 +++---------
 hw/core/machine.c                  | 22 -------------------
 hw/i386/amd_iommu.c                | 12 ++--------
 hw/i386/intel_iommu.c              | 13 ++---------
 hw/i386/kvm/clock.c                | 18 ---------------
 hw/i386/pc.c                       | 14 ------------
 hw/i386/pc_piix.c                  | 18 ---------------
 hw/i386/pc_q35.c                   | 18 ---------------
 hw/i386/x86-iommu.c                |  1 -
 hw/isa/lpc_ich9.c                  | 22 +++----------------
 hw/net/virtio-net.c                |  8 ++-----
 hw/nvram/fw_cfg.c                  | 35 ++++--------------------------
 hw/pci-bridge/gen_pcie_root_port.c | 16 ++------------
 hw/pci/pci.c                       |  2 --
 hw/pci/pcie.c                      |  5 -----
 hw/virtio/virtio-pci.c             | 35 ++++++++----------------------
 25 files changed, 29 insertions(+), 260 deletions(-)
Signature · 1 line
2.47.1