tests/qtest: migration-test: Add tests for file-based migration
commit3dc35470c888b21eba4ebd22e51ff376eb4fbdbf
authorFabiano Rosas <farosas@suse.de>
Wed, 12 Jul 2023 19:07:42 +0000 (12 16:07 -0300)
committerJuan Quintela <quintela@redhat.com>
Tue, 17 Oct 2023 07:25:06 +0000 (17 09:25 +0200)
tree11d2919779c0410bd23f45181b20e080bf92192d
parentd864756e8734b22a9e7825c0fa46c7459a7ad105
tests/qtest: migration-test: Add tests for file-based migration

Add basic tests for file-based migration.

Note that we cannot use test_precopy_common because that routine
expects it to be possible to run the migration live. With the file
transport there is no live migration because we must wait for the
source to finish writing the migration data to the file before the
destination can start reading. Add a new migration function
specifically to handle the file migration.

Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-ID: <20230712190742.22294-7-farosas@suse.de>
tests/qtest/migration-test.c