]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/qtest/migration: Move common test code
authorFabiano Rosas <farosas@suse.de>
Wed, 27 Nov 2024 18:28:54 +0000 (15:28 -0300)
committerFabiano Rosas <farosas@suse.de>
Thu, 12 Dec 2024 13:25:40 +0000 (10:25 -0300)
commite1803dabdcbd26f2cf72e586f22b03e2e90d6110
treece502d4d2c7feccba141dbbceb3f2c80fcc29a67
parentd4bedc3514b6ffde449bcf967b04a3cafe7e89c7
tests/qtest/migration: Move common test code

The migration tests have a set of core infrastructure routines. These
are functions that are called by (almost) all tests and centralize the
common operations of: starting migration on both sides, waiting for
guests to boot, performing guest initialization and teardown, guest
memory validation, etc.

Move this basic framework code (and a few static helpers) into a
separate file. Leave only individual test functions (and their own
static helpers) in migration-test.c.

Acked-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
tests/qtest/meson.build
tests/qtest/migration-test.c
tests/qtest/migration/bootfile.c
tests/qtest/migration/bootfile.h
tests/qtest/migration/framework.c [new file with mode: 0644]
tests/qtest/migration/framework.h [new file with mode: 0644]