Skip to content

pc: Initialization and compat function cleanup

Eduardo Habkost qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 5 repliesIn review
  2. v24 patches 1 replySuperseded
  3. v118 patches 2 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6pc: Move compat boolean globals to PCMachineClasshw/i386/pc.c hw/i386/pc_piix.c hw/i386/pc_q35.c +1 more+86 -742 replies
2/6pc: Move legacy_acpi_table_size global to PCMachineClasshw/i386/pc_piix.c include/hw/i386/pc.h+20 -211 reply
3/6pc: Move acpi_data_size global to PCMachineClasshw/i386/pc.c hw/i386/pc_piix.c hw/i386/pc_q35.c +1 more+12 -151 reply
4/6pc: Move enforce_aligned_dimm to PCMachineClasshw/i386/pc.c hw/i386/pc_piix.c hw/i386/pc_q35.c +1 more+12 -140 replies
5/6pc: Remove enforce-aligned-dimm QOM propertyhw/i386/pc.c include/hw/i386/pc.h+0 -120 replies
6/6pc: Move option_rom_has_mr/rom_file_has_mr globals to MachineClasshw/core/loader.c hw/core/machine.c hw/i386/pc_piix.c +2 more+14 -111 reply

Reviews trailers per patch

4 of 6 patches have a Reviewed-by or Acked-by.

PatchMarcel Apfelbaum
1/6R-b
2/6R-b
3/6R-b
4/6
5/6
6/6R-b

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

Read the v3 thread

Cover letter [Qemu-devel] [PATCH v3 0/6] pc: Initialization and compat function cleanup

This moves most compat data that are globals or PCMachineState fields to PCMachineClass.

It looks like v2 (sent in August) has slipped through the cracks. Rebased to latest qemu.git, and added 2 additional patches.

Eduardo Habkost (6):
pc: Move compat boolean globals to PCMachineClass
pc: Move legacy_acpi_table_size global to PCMachineClass
pc: Move acpi_data_size global to PCMachineClass
pc: Move enforce_aligned_dimm to PCMachineClass
pc: Remove enforce-aligned-dimm QOM property
pc: Move option_rom_has_mr/rom_file_has_mr globals to MachineClass

 hw/core/loader.c     |  10 ++--
 hw/core/machine.c    |   1 +
 hw/i386/pc.c         |  44 +++++++---------
 hw/i386/pc_piix.c    | 138 ++++++++++++++++++++++++---------------------------
 hw/i386/pc_q35.c     |  64 +++++++++++-------------
 include/hw/boards.h  |   2 +
 include/hw/i386/pc.h |  28 ++++++++---
 7 files changed, 142 insertions(+), 145 deletions(-)
Signature · 1 line
2.1.0