Skip to content

hw/sparc/sun4m: Introduce Sun4mMachineClass to access sun4m_hwdefs

Philippe Mathieu-Daudé 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 2 repliesIn review
  2. v26 patches 7 repliesSuperseded
  3. v13 patches 2 repliesSuperseded

Changes in v3 from the cover letter

- use static const variable for hwdef (Richard)
- added Richard's R-b tag

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6hw/sparc/sun4m: Have sun4m machines inherit new TYPE_SUN4M_MACHINEhw/sparc/sun4m.c+21 -90 replies
2/6hw/sparc/sun4m: Introduce Sun4mMachineClasshw/sparc/sun4m.c+39 -110 replies
3/6hw/sparc/sun4m: Factor out sun4m_machine_class_init()hw/sparc/sun4m.c+8 -950 replies
4/6hw/sparc/sun4m: Register machine types in sun4m_machine_types[]hw/sparc/sun4m.c+36 -640 replies
5/6hw/sparc/sun4m: Fix code style for checkpatch.plhw/sparc/sun4m.c+9 -90 replies
6/6hw/sparc/sun4m: Move each sun4m_hwdef definition in its class_inithw/sparc/sun4m.c+118 -1301 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRichard HendersonMark Cave-Ayland
SeriesR-b
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
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 [PATCH v3 0/6] hw/sparc/sun4m: Introduce Sun4mMachineClass to access sun4m_hwdefs

Missing review: 6

Hi Mark,

This series QOM'ify the sun4m machines.
I need it for a further memory maxsize check. It is mostly code movement (and the diff-stat is good).

Since v2:
- use static const variable for hwdef (Richard)
- added Richard's R-b tag

Since v1:
- Full rewrite after Mark review

Philippe Mathieu-Daudé (6):
hw/sparc/sun4m: Have sun4m machines inherit new TYPE_SUN4M_MACHINE hw/sparc/sun4m: Introduce Sun4mMachineClass hw/sparc/sun4m: Factor out sun4m_machine_class_init() hw/sparc/sun4m: Register machine types in sun4m_machine_types[] hw/sparc/sun4m: Fix code style for checkpatch.pl hw/sparc/sun4m: Move each sun4m_hwdef definition in its class_init

 hw/sparc/sun4m.c | 459 +++++++++++++++++++----------------------------
 1 file changed, 186 insertions(+), 273 deletions(-)
Signature · 1 line
2.26.3