Skip to content

hw/i386: Remove deprecated pc-i440fx-2.0 -> 2.3 machines

Philippe Mathieu-Daudé qemu-devel 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest23 patches 4 repliesIn review
  2. v523 patches 31 repliesSuperseded
  3. v422 patches 5 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v322 patches5 repliesSuperseded
v221 patches29 repliesSuperseded
v118 patches21 repliesSuperseded

Changes in v6 from the cover letter

- Addressed Igor review comments
- Added R-b tags

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/23hw/i386/pc: Deprecate 2.4 to 2.12 pc-i440fx machinesdocs/about/deprecated.rst hw/i386/pc_piix.c+3 -30 replies
2/23hw/i386/pc: Remove deprecated pc-i440fx-2.0 machinedocs/about/deprecated.rst docs/about/removed-features.rst hw/i386/pc.c +2 more+2 -570 replies
3/23hw/usb/hcd-xhci: Remove XHCI_FLAG_FORCE_PCIE_ENDCAP flaghw/usb/hcd-xhci-nec.c hw/usb/hcd-xhci-pci.c hw/usb/hcd-xhci.h+1 -50 replies
4/23hw/usb/hcd-xhci: Remove XHCI_FLAG_SS_FIRST flaghw/usb/hcd-xhci-nec.c hw/usb/hcd-xhci-pci.c hw/usb/hcd-xhci.c +1 more+9 -390 replies
5/23hw/i386/acpi: Remove PCMachineClass::legacy_acpi_table_sizehw/i386/acpi-build.c include/hw/i386/pc.h+12 -520 replies
6/23hw/acpi/ich9: Remove 'memory-hotplug-support' propertyhw/acpi/ich9.c+0 -180 replies
7/23hw/acpi/ich9: Remove dead code related to 'acpi_memory_hotplug'hw/acpi/ich9.c+6 -220 replies
8/23hw/i386/pc: Remove deprecated pc-i440fx-2.1 machinedocs/about/deprecated.rst docs/about/removed-features.rst hw/i386/pc.c +2 more+2 -350 replies
9/23target/i386/kvm: Remove x86_cpu_change_kvm_default() and 'kvm-cpu.h'target/i386/kvm/kvm-cpu.c target/i386/kvm/kvm-cpu.h+1 -430 replies
10/23hw/i386/pc: Remove PCMachineClass::smbios_uuid_encodedhw/i386/fw_cfg.c hw/i386/pc.c include/hw/i386/pc.h+1 -40 replies
11/23hw/smbios: Remove 'uuid_encoded' argument from smbios_set_defaults()hw/arm/virt.c hw/i386/fw_cfg.c hw/loongarch/virt.c +3 more+7 -110 replies
12/23hw/smbios: Remove 'smbios_uuid_encoded', simplify smbios_encode_uuid()hw/smbios/smbios.c+3 -60 replies
13/23hw/i386/pc: Remove PCMachineClass::enforce_aligned_dimmhw/i386/pc.c include/hw/i386/pc.h tests/avocado/mem-addr-space-check.py+7 -190 replies
14/23hw/mem/pc-dimm: Remove legacy_align argument from pc_dimm_pre_plug()hw/arm/virt.c hw/i386/pc.c hw/loongarch/virt.c +3 more+7 -100 replies
15/23hw/mem/memory-device: Remove legacy_align from memory_device_pre_plug()hw/i386/pc.c hw/mem/memory-device.c hw/mem/pc-dimm.c +2 more+8 -130 replies
16/23hw/i386/pc: Remove deprecated pc-i440fx-2.2 machinedocs/about/deprecated.rst docs/about/removed-features.rst hw/i386/pc.c +2 more+2 -490 replies
17/23hw/i386/pc: Remove PCMachineClass::resizable_acpi_blobhw/i386/acpi-build.c hw/i386/pc.c include/hw/i386/pc.h+0 -140 replies
18/23hw/i386/pc: Remove PCMachineClass::rsdp_in_ramhw/i386/acpi-build.c hw/i386/pc.c include/hw/i386/pc.h+4 -330 replies
19/23hw/i386/acpi: Remove AcpiBuildState::rsdp fieldhw/i386/acpi-build.c+1 -70 replies
20/23hw/i386/pc: Remove deprecated pc-i440fx-2.3 machinedocs/about/deprecated.rst docs/about/removed-features.rst hw/i386/pc.c +1 more+3 -470 replies
21/23hw/i386/pc: Simplify DEFINE_I440FX_MACHINE() macrohw/i386/pc_piix.c+29 -401 reply
22/23target/i386: Remove X86CPU::kvm_no_smi_migration fieldtarget/i386/cpu.c target/i386/cpu.h target/i386/kvm/kvm.c+1 -111 reply
23/23hw/i386/pc: Replace PCMachineClass::acpi_data_size by PC_ACPI_DATA_SIZEhw/i386/pc.c include/hw/i386/pc.h+12 -111 reply

Reviews trailers per patch

All 23 patches have a Reviewed-by or Acked-by.

PatchThomas HuthZhao LiuIgor MammedovDaniel P. BerrangéDavid Hildenbrand
1/23R-b R-b R-b
2/23R-b R-b R-b
3/23R-b R-b R-b
4/23R-b R-b R-b
5/23R-b R-b
6/23R-b R-b
7/23R-b R-b
8/23R-b R-b R-b
9/23R-b R-b R-b
10/23R-b R-b R-b
11/23R-b R-b
12/23R-b R-b
13/23R-b R-b
14/23R-b R-b R-b R-b
15/23R-b R-b R-b R-b
16/23R-b R-b R-b
17/23R-b R-b
18/23R-b R-b R-b
19/23R-b R-b R-b
20/23R-b R-b R-b
21/23R-b R-b R-b R-b
22/23R-b R-b R-b
23/23R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v6 thread

Cover letter [PATCH v6 00/23] hw/i386: Remove deprecated pc-i440fx-2.0 -> 2.3 machines

Series fully reviewed. Since Igor reviewed, I plan to merge it myself if no feedback from Paolo / Michael.

Since v5:
- Addressed Igor review comments
- Added R-b tags

Since v4:
- Rebased on top of 7b68a5fe2f ("Merge tag 'for-upstream')
- Removed obsolete comment (Daniel)
- Clean DEFINE_I440FX_MACHINE (Daniel, new patch).

Since v3:
- Deprecate up to 2.12 (Thomas)

Since v2:
- Addressed Zhao review comments

Since v1:
- Addressed Zhao and Thomas review comments

Clashes a bit with Daniel general deprecation policy for all versioned machines:
https://lists.nongnu.org/archive/html/qemu-devel/2024-05/msg00084.html

Philippe Mathieu-Daudé (23):
hw/i386/pc: Deprecate 2.4 to 2.12 pc-i440fx machines hw/i386/pc: Remove deprecated pc-i440fx-2.0 machine hw/usb/hcd-xhci: Remove XHCI_FLAG_FORCE_PCIE_ENDCAP flag hw/usb/hcd-xhci: Remove XHCI_FLAG_SS_FIRST flag hw/i386/acpi: Remove PCMachineClass::legacy_acpi_table_size hw/acpi/ich9: Remove 'memory-hotplug-support' property hw/acpi/ich9: Remove dead code related to 'acpi_memory_hotplug' hw/i386/pc: Remove deprecated pc-i440fx-2.1 machine target/i386/kvm: Remove x86_cpu_change_kvm_default() and 'kvm-cpu.h' hw/i386/pc: Remove PCMachineClass::smbios_uuid_encoded hw/smbios: Remove 'uuid_encoded' argument from smbios_set_defaults() hw/smbios: Remove 'smbios_uuid_encoded', simplify smbios_encode_uuid() hw/i386/pc: Remove PCMachineClass::enforce_aligned_dimm hw/mem/pc-dimm: Remove legacy_align argument from pc_dimm_pre_plug() hw/mem/memory-device: Remove legacy_align from
memory_device_pre_plug()
hw/i386/pc: Remove deprecated pc-i440fx-2.2 machine hw/i386/pc: Remove PCMachineClass::resizable_acpi_blob hw/i386/pc: Remove PCMachineClass::rsdp_in_ram hw/i386/acpi: Remove AcpiBuildState::rsdp field hw/i386/pc: Remove deprecated pc-i440fx-2.3 machine hw/i386/pc: Simplify DEFINE_I440FX_MACHINE() macro target/i386: Remove X86CPU::kvm_no_smi_migration field hw/i386/pc: Replace PCMachineClass::acpi_data_size by
PC_ACPI_DATA_SIZE

 docs/about/deprecated.rst             |   4 +-
 docs/about/removed-features.rst       |   2 +-
 hw/usb/hcd-xhci.h                     |   4 +-
 include/hw/firmware/smbios.h          |   3 +-
 include/hw/i386/pc.h                  |  22 ----
 include/hw/mem/memory-device.h        |   2 +-
 include/hw/mem/pc-dimm.h              |   3 +-
 target/i386/cpu.h                     |   3 -
 target/i386/kvm/kvm-cpu.h             |  41 ------
 hw/acpi/ich9.c                        |  46 +------
 hw/arm/virt.c                         |   5 +-
 hw/i386/acpi-build.c                  |  96 ++-------------
 hw/i386/fw_cfg.c                      |   3 +-
 hw/i386/pc.c                          | 107 +++-------------
 hw/i386/pc_piix.c                     | 171 +++++---------------------
 hw/loongarch/virt.c                   |   4 +-
 hw/mem/memory-device.c                |  12 +-
 hw/mem/pc-dimm.c                      |   6 +-
 hw/ppc/spapr.c                        |   2 +-
 hw/riscv/virt.c                       |   2 +-
 hw/smbios/smbios.c                    |  13 +-
 hw/usb/hcd-xhci-nec.c                 |   4 -
 hw/usb/hcd-xhci-pci.c                 |   4 +-
 hw/usb/hcd-xhci.c                     |  42 ++-----
 hw/virtio/virtio-md-pci.c             |   2 +-
 target/i386/cpu.c                     |   2 -
 target/i386/kvm/kvm-cpu.c             |   3 +-
 target/i386/kvm/kvm.c                 |   7 +-
 tests/avocado/mem-addr-space-check.py |   9 +-
 29 files changed, 98 insertions(+), 526 deletions(-)
 delete mode 100644 target/i386/kvm/kvm-cpu.h
Signature · 1 line
2.41.0