Skip to content

more migration enhancements and tests

Nicholas Piggin kvm linux-s390 linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7arch-run: Keep infifo openscripts/arch-run.bash+6 -62 replies
2/7migration: Add a migrate_skip commandcommon/selftest-migration.c lib/migrate.c lib/migrate.h +3 more+73 -141 reply
3/7(arm|s390): Use migrate_skip in test casesarm/gic.c s390x/migration-cmm.c s390x/migration-skey.c +1 more+20 -141 reply
4/7powerpc: add asm/time.h header with delay and get_clock_us/mslib/powerpc/asm/processor.h lib/powerpc/asm/time.h lib/powerpc/processor.c +5 more+46 -211 reply
5/7arch-run: Add a "continuous" migration option for testscommon/selftest-migration.c lib/migrate.c lib/migrate.h +1 more+82 -104 replies
6/7gitlab-ci: Run migration selftest on s390x and powerpc.gitlab-ci.yml+11 -73 replies
7/7common: add memory dirtying vs migration testcommon/memory-verify.c powerpc/Makefile.common powerpc/memory-verify.c +4 more+65 -03 replies

Reviews trailers per patch

4 of 7 patches have a Reviewed-by or Acked-by.

PatchThomas Huth
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7
6/7
7/7

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

Read the v1 thread

Cover letter [kvm-unit-tests PATCH 0/7] more migration enhancements and tests

This series applies on top of the multi-migration patches and just has assorted things I've been collecting.

- New migrate_skip() command that tidies up the wart of using migrate_once() to skip migration.
- New "continuous migration" mode where the harness just migrates the test contually while it is running.
- Put some migration tests in gitlab CI for powerpc and s390.
- Add a test case that can reproduce the QEMU TCG dirty bitmap migration bug.

Nicholas Piggin (7):
arch-run: Keep infifo open
migration: Add a migrate_skip command
(arm|s390): Use migrate_skip in test cases
powerpc: add asm/time.h header with delay and get_clock_us/ms
arch-run: Add a "continuous" migration option for tests
gitlab-ci: Run migration selftest on s390x and powerpc
common: add memory dirtying vs migration test

 .gitlab-ci.yml              |  18 ++++---
 arm/gic.c                   |  21 ++++----
 common/memory-verify.c      |  48 +++++++++++++++++
 common/selftest-migration.c |  26 ++++++---
 lib/migrate.c               |  37 ++++++++++++-
 lib/migrate.h               |   5 ++
 lib/powerpc/asm/processor.h |  21 --------
 lib/powerpc/asm/time.h      |  30 +++++++++++
 lib/powerpc/processor.c     |  11 ++++
 lib/powerpc/smp.c           |   1 +
 lib/ppc64/asm/time.h        |   1 +
 powerpc/Makefile.common     |   1 +
 powerpc/memory-verify.c     |   1 +
 powerpc/spapr_vpa.c         |   1 +
 powerpc/sprs.c              |   1 +
 powerpc/tm.c                |   1 +
 powerpc/unittests.cfg       |  13 +++++
 s390x/Makefile              |   1 +
 s390x/memory-verify.c       |   1 +
 s390x/migration-cmm.c       |   8 +--
 s390x/migration-skey.c      |   4 +-
 s390x/migration.c           |   1 +
 s390x/unittests.cfg         |  11 ++++
 scripts/arch-run.bash       | 104 +++++++++++++++++++++++++++++-------
 24 files changed, 299 insertions(+), 68 deletions(-)
 create mode 100644 common/memory-verify.c
 create mode 100644 lib/powerpc/asm/time.h
 create mode 100644 lib/ppc64/asm/time.h
 create mode 120000 powerpc/memory-verify.c
 create mode 120000 s390x/memory-verify.c
Signature · 1 line
2.42.0