Skip to content

hw/core/machine: Add an unit test for smp_parse

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest2 patches 12 repliesIn review

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2hw/core/machine: Split out the smp parsing codeMAINTAINERS hw/core/machine-smp.c hw/core/machine.c +2 more+184 -1590 replies
2/2tests/unit: Add an unit test for smp parsingMAINTAINERS tests/unit/meson.build tests/unit/test-smp-parse.c+596 -010 replies

Reviews trailers per patch

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

PatchAndrew JonesPhilippe Mathieu-DaudéEduardo Habkost
SeriesA-b
1/2R-b R-b T-b
2/2R-b T-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 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/2] hw/core/machine: Add an unit test for smp_parse

Respin of Yanan Wang v3, based on
"hw/core: Restrict qdev-hotplug to sysemu"

Based-on: [email protected]
https://lore.kernel.org/qemu-devel/[email protected]

git-backport-diff:
Key:
[----] : patches are identical
[####] : number of functional differences between upstream/downstream patch [down] : patch is downstream-only
The flags [FC] indicate (F)unctional and (C)ontextual differences, respectively

001/2:[0001] [FC] 'hw/core/machine: Split out the smp parsing code' 002/2:[----] [--] 'tests/unit: Add an unit test for smp parsing'

Yanan Wang (2):
hw/core/machine: Split out the smp parsing code
tests/unit: Add an unit test for smp parsing

 include/hw/boards.h         |   1 +
 hw/core/machine-smp.c       | 181 +++++++++++
 hw/core/machine.c           | 159 ----------
 tests/unit/test-smp-parse.c | 594 ++++++++++++++++++++++++++++++++++++
 MAINTAINERS                 |   2 +
 hw/core/meson.build         |   1 +
 tests/unit/meson.build      |   1 +
 7 files changed, 780 insertions(+), 159 deletions(-)
 create mode 100644 hw/core/machine-smp.c
 create mode 100644 tests/unit/test-smp-parse.c
Signature · 1 line
2.31.1