Files
qemu-reims-vgpu/tests/functional/ppc64/test_migration.py
T
Aniket Sahu 9eb5eb4d97 tests/functional/ppc64: extend pseries migration tests
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 <asahu1x@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Amit Machhiwal <amachhiw@linux.ibm.com>
Link: https://lore.kernel.org/qemu-devel/20260921081010.31778-2-asahu1x@linux.ibm.com
Signed-off-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
2026-10-28 10:45:50 +05:30

28 lines
610 B
Python
Executable File

#!/usr/bin/env python3
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
# ppc migration test
from qemu_test.ports import Ports
from migration import MigrationTest
class PpcMigrationTest(MigrationTest):
def test_migration_with_tcp_localhost(self):
self.set_machine('mac99')
self.migration_with_tcp_localhost()
def test_migration_with_unix(self):
self.set_machine('pseries')
self.migration_with_unix()
def test_migration_with_exec(self):
self.set_machine('pseries')
self.migration_with_exec()
if __name__ == '__main__':
MigrationTest.main()