tests/qtest: precopy migration with suspend
authorSteve Sistare <steven.sistare@oracle.com>
Wed, 3 Jan 2024 20:05:40 +0000 (12:05 -0800)
committerPeter Xu <peterx@redhat.com>
Thu, 4 Jan 2024 01:52:42 +0000 (09:52 +0800)
commitb1fdd21e8c2442ec8a68f0c3e67efdb279ecea64
tree6898217b9be6879991dac2306abc889e14daf73b
parent5014478e0dc0e7e542e462fe271a24fd07bd813d
tests/qtest: precopy migration with suspend

Add a test case to verify that the suspended state is handled correctly
during live migration precopy.  The test suspends the src, migrates, then
wakes the dest.

Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Peter Xu <peterx@redhat.com>
Link: https://lore.kernel.org/r/1704312341-66640-12-git-send-email-steven.sistare@oracle.com
Signed-off-by: Peter Xu <peterx@redhat.com>
tests/qtest/migration-helpers.c
tests/qtest/migration-helpers.h
tests/qtest/migration-test.c