Upstream: https://gitlab.com/qemu-project/qemu.git Upstream-Commit: d2e570cc0f97b936902a5b1b86b73c0f5998b475
27 lines
576 B
Python
Executable File
27 lines
576 B
Python
Executable File
#!/usr/bin/env python3
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# riscv32 migration test
|
|
|
|
from migration import MigrationTest
|
|
|
|
|
|
class Rv32MigrationTest(MigrationTest):
|
|
|
|
def test_migration_with_tcp_localhost(self):
|
|
self.set_machine('spike')
|
|
self.migration_with_tcp_localhost()
|
|
|
|
def test_migration_with_unix(self):
|
|
self.set_machine('virt')
|
|
self.migration_with_unix()
|
|
|
|
def test_migration_with_exec(self):
|
|
self.set_machine('spike')
|
|
self.migration_with_exec()
|
|
|
|
|
|
if __name__ == '__main__':
|
|
MigrationTest.main()
|