tests: merge code for UNIX and TCP migration pre-copy tests
commitffed54f6e51db2685d44f34bb2437aac10314e00
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 10 Mar 2022 17:18:11 +0000 (10 17:18 +0000)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 21 Apr 2022 18:36:46 +0000 (21 19:36 +0100)
tree26f3321e4b10f47e4786fb8dd0295ced33b3bdeb
parent19da6edfe87615462e469e77062d841c27514599
tests: merge code for UNIX and TCP migration pre-copy tests

The test cases differ only in the URI they provide to the migration
commands, and the ability to set the dirty_ring mode. This code is
trivially merged into a common helper.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20220310171821.3724080-9-berrange@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
tests/qtest/migration-test.c