diff options
author | Nico Boehr <[email protected]> | 2023-03-24 15:54:24 +0100 |
---|---|---|
committer | Janosch Frank <[email protected]> | 2023-06-16 11:05:31 +0200 |
commit | e325ba2271849e25017743496bcec8d3a83cacb3 (patch) | |
tree | 9af1d4940742e8ae937425de2bd515f483c42d09 /net/lapb/lapb_subr.c | |
parent | 285cff4c0454340a4dc53f46e67f2cb1c293bd74 (diff) |
KVM: s390: selftests: add selftest for CMMA migration
Add a selftest for CMMA migration on s390.
The tests cover:
- interaction of dirty tracking and migration mode, see my recent patch
"KVM: s390: disable migration mode when dirty tracking is disabled" [1],
- several invalid calls of KVM_S390_GET_CMMA_BITS, for example: invalid
flags, CMMA support off, with/without peeking
- ensure KVM_S390_GET_CMMA_BITS initally reports all pages as dirty,
- ensure KVM_S390_GET_CMMA_BITS properly skips over holes in memslots, but
also non-dirty pages
Note that without the patch at [1] and the small fix in this series, the
selftests will fail.
[1] https://lore.kernel.org/all/[email protected]/
Signed-off-by: Nico Boehr <[email protected]>
Reviewed-by: Claudio Imbrenda <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Claudio Imbrenda <[email protected]>
[[email protected]: squashed
[email protected] / "KVM: s390: selftests:
CMMA: don't run if CMMA not supported"]
Signed-off-by: Janosch Frank <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions