Skip to content

tests: Rename pc-cpu-test.c to cpu-plug-test.c

Thomas Huth qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyIn review
  2. v14 patches 8 repliesSuperseded

Changes in v2 from the cover letter

- Rebased to current master, fixed contextual conflicts in tests/Makefile.include
- Adjusted the data->device_model to the current version of QEMU (e.g. use "qemu-s390x-cpu" instead of "qemu-s390-cpu")

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4tests: Rename pc-cpu-test.c to cpu-plug-test.ctests/Makefile.include tests/cpu-plug-test.c+14 -140 replies
2/4tests/cpu-plug-test: Check the CPU hot-plugging with device_add, tootests/cpu-plug-test.c+45 -21 reply
3/4tests/cpu-plug-test: Check CPU hot-plugging on ppc64, tootests/Makefile.include tests/cpu-plug-test.c+51 -00 replies
4/4tests/cpu-plug-test: Test CPU hot-plugging on s390xtests/Makefile.include tests/cpu-plug-test.c+40 -00 replies

Reviews trailers per patch

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

PatchPhilippe Mathieu-DaudéDavid HildenbrandDaniel Barboza
1/4R-b R-b
2/4R-b R-b T-b
3/4R-b T-b
4/4R-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 v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/4] tests: Rename pc-cpu-test.c to cpu-plug-test.c

So far the CPU hot-plug qtest was only checking "cpu-add" on x86. With these patches, we now test "device_add" for hot-plugging CPUs on x86, and enable the test on ppc64 and s390x, too.

v2:
- Rebased to current master, fixed contextual conflicts in tests/Makefile.include
- Adjusted the data->device_model to the current version of QEMU (e.g. use "qemu-s390x-cpu" instead of "qemu-s390-cpu")

Thomas Huth (4):
tests: Rename pc-cpu-test.c to cpu-plug-test.c tests/cpu-plug-test: Check the CPU hot-plugging with device_add, too tests/cpu-plug-test: Check CPU hot-plugging on ppc64, too tests/cpu-plug-test: Test CPU hot-plugging on s390x

 tests/Makefile.include |   6 +-
 tests/cpu-plug-test.c  | 267 +++++++++++++++++++++++++++++++++++++++++++++++++
 tests/pc-cpu-test.c    | 135 -------------------------
 3 files changed, 271 insertions(+), 137 deletions(-)
 create mode 100644 tests/cpu-plug-test.c
 delete mode 100644 tests/pc-cpu-test.c
Signature · 1 line
1.8.3.1