From: Aniket Sahu <[email protected]> The existing test_migration.py exercises all three migration transport paths (TCP, UNIX, exec) but only against the mac99 machine type. A regression in pseries-specific vmstate save/restore handlers would not be caught by migrating a mac99 guest.
Switch the UNIX socket and exec (socat) migration tests from mac99 to pseries so that these transport paths are exercised against the pseries vmstate. The TCP test is left on mac99 since pseries TCP migration is already covered by test_ppc64_linux_migration in test_pseries.py. Signed-off-by: Aniket Sahu <[email protected]> Reviewed-by: Thomas Huth <[email protected]> Reviewed-by: Amit Machhiwal <[email protected]> Link: https://lore.kernel.org/qemu-devel/[email protected] Signed-off-by: Harsh Prateek Bora <[email protected]> --- tests/functional/ppc64/test_migration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/functional/ppc64/test_migration.py b/tests/functional/ppc64/test_migration.py index 7d49ee175b..e1d51551b8 100755 --- a/tests/functional/ppc64/test_migration.py +++ b/tests/functional/ppc64/test_migration.py @@ -15,11 +15,11 @@ def test_migration_with_tcp_localhost(self): self.migration_with_tcp_localhost() def test_migration_with_unix(self): - self.set_machine('mac99') + self.set_machine('pseries') self.migration_with_unix() def test_migration_with_exec(self): - self.set_machine('mac99') + self.set_machine('pseries') self.migration_with_exec() -- 2.52.0
