migration/multifd: Add new migration test cases for legacy zero page checking.
commit1815338df00fd0a3fe25085564c6966f74c8f43d
authorHao Xiang <hao.xiang@bytedance.com>
Mon, 11 Mar 2024 18:00:15 +0000 (11 18:00 +0000)
committerPeter Xu <peterx@redhat.com>
Mon, 11 Mar 2024 20:57:09 +0000 (11 16:57 -0400)
tree01d927edc3293c01bf5712c032328087bcf1c413
parent70c25c92e602f393d3c33596530c5f2b18491e55
migration/multifd: Add new migration test cases for legacy zero page checking.

Now that zero page checking is done on the multifd sender threads by
default, we still provide an option for backward compatibility. This
change adds a qtest migration test case to set the zero-page-detection
option to "legacy" and run multifd migration with zero page checking on the
migration main thread.

Signed-off-by: Hao Xiang <hao.xiang@bytedance.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Link: https://lore.kernel.org/r/20240311180015.3359271-8-hao.xiang@linux.dev
Signed-off-by: Peter Xu <peterx@redhat.com>
tests/qtest/migration-test.c