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

Thomas Huth posted 4 patches 7 years, 10 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1513597251-21942-1-git-send-email-thuth@redhat.com
Test checkpatch passed
Test docker passed
Test ppc passed
Test s390x passed
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
[Qemu-devel] [PATCH v2 0/4] tests: Rename pc-cpu-test.c to cpu-plug-test.c
Posted by Thomas Huth 7 years, 10 months ago
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

-- 
1.8.3.1