Skip to content

pc: Eliminate struct PcGuestInfo

Eduardo Habkost qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest14 patches 19 repliesIn review
  2. v116 patches 14 repliesSuperseded

Changes in v2 from the cover letter

* Remove PCMachineState field from AcpiBuildState, use qdev_get_machine() instead
* Reorder series and squash some patches together

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14q35: Remove MCHPCIState.guest_info fieldhw/i386/pc_q35.c include/hw/pci-host/q35.h+0 -21 reply
2/14pc: Group and document related PCMachineState/PCMachineclass fieldsinclude/hw/i386/pc.h+36 -121 reply
3/14pc: Move PcGuestInfo declaration to top of fileinclude/hw/i386/pc.h+16 -151 reply
4/14pc: Eliminate struct PcGuestInfoStatehw/i386/pc.c include/hw/i386/pc.h+12 -171 reply
5/14pc: Simplify pc_memory_init() signaturehw/i386/pc.c hw/i386/pc_piix.c hw/i386/pc_q35.c +1 more+11 -131 reply
6/14pc: Simplify xen_load_linux() signaturehw/i386/pc.c hw/i386/pc_piix.c include/hw/i386/pc.h+4 -61 reply
7/14acpi: Remove guest_info parameters from functionshw/i386/acpi-build.c hw/i386/acpi-build.h hw/i386/pc.c+23 -163 replies
8/14acpi: Don't save PcGuestInfo on AcpiBuildStatehw/i386/acpi-build.c+0 -31 reply
9/14pc: Remove compat fields from PcGuestInfohw/i386/acpi-build.c hw/i386/pc.c hw/i386/pc_piix.c +2 more+9 -241 reply
10/14pc: Remove RAM size fields from PcGuestInfohw/i386/acpi-build.c hw/i386/pc.c include/hw/i386/pc.h+5 -81 reply
11/14pc: Remove PcGuestInfo.isapc_ram_fw fieldhw/i386/pc.c hw/i386/pc_piix.c hw/i386/pc_q35.c +1 more+3 -94 replies
12/14pc: Move PcGuestInfo.fw_cfg to PCMachineStatehw/i386/acpi-build.c hw/i386/pc.c include/hw/i386/pc.h+8 -111 reply
13/14pc: Move APIC and NUMA data from PcGuestInfo to PCMachineStatehw/i386/acpi-build.c hw/i386/pc.c include/hw/i386/pc.h+28 -281 reply
14/14pc: Eliminate PcGuestInfo structhw/i386/pc.c include/hw/i386/pc.h+2 -91 reply

Reviews trailers per patch

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

PatchMarcel Apfelbaum
1/14R-b
2/14R-b
3/14R-b
4/14R-b
5/14R-b
6/14R-b
7/14
8/14R-b
9/14R-b
10/14R-b
11/14R-b
12/14R-b
13/14R-b
14/14

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

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 00/14] pc: Eliminate struct PcGuestInfo

This moves all data from PcGuestInfo to either PCMachineState or PCMachineClass.

This series depends on other two series:
* [PATCH v3 0/6] pc: Initialization and compat function cleanup
* [PATCH V3 0/3] hw/pcie: Multi-root support for Q35

For reference, there's a git tree containing this series plus all the dependencies, at:
git://github.com/ehabkost/qemu-hacks.git work/pcguestinfo-eliminate

Changes v1 -> v2:
* Remove PCMachineState field from AcpiBuildState, use qdev_get_machine() instead
* Reorder series and squash some patches together

Eduardo Habkost (14):
q35: Remove MCHPCIState.guest_info field
pc: Group and document related PCMachineState/PCMachineclass fields
pc: Move PcGuestInfo declaration to top of file
pc: Eliminate struct PcGuestInfoState
pc: Simplify pc_memory_init() signature
pc: Simplify xen_load_linux() signature
acpi: Remove guest_info parameters from functions
acpi: Don't save PcGuestInfo on AcpiBuildState
pc: Remove compat fields from PcGuestInfo
pc: Remove RAM size fields from PcGuestInfo
pc: Remove PcGuestInfo.isapc_ram_fw field
pc: Move PcGuestInfo.fw_cfg to PCMachineState
pc: Move APIC and NUMA data from PcGuestInfo to PCMachineState
pc: Eliminate PcGuestInfo struct

 hw/i386/acpi-build.c      | 77 +++++++++++++++++++++--------------------
 hw/i386/acpi-build.h      |  2 +-
 hw/i386/pc.c              | 77 +++++++++++++++++------------------------
 hw/i386/pc_piix.c         | 14 ++------
 hw/i386/pc_q35.c          | 15 ++------
 include/hw/i386/pc.h      | 88 ++++++++++++++++++++++++++++-------------------
 include/hw/pci-host/q35.h |  1 -
 7 files changed, 129 insertions(+), 145 deletions(-)
Signature · 1 line
2.1.0