Re: [kvm-unit-tests PATCH v4 4/8] migration: Support multiple migrations

Thomas Huth
2024-02-09T17:57:23Z

On 09/02/2024 10.11, Nicholas Piggin wrote:
> Support multiple migrations by flipping dest file/socket variables to
> source after the migration is complete, ready to start again. A new
> destination is created if the test outputs the migrate line again.
> Test cases may now switch to calling migrate() one or more times.
>
> Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
> ---
> lib/migrate.c | 8 ++--
> lib/migrate.h | 1 +
> scripts/arch-run.bash | 86 ++++++++++++++++++++++++++++++++++++-------
> 3 files changed, 77 insertions(+), 18 deletions(-)

Reviewed-by: Thomas Huth <thuth@redhat.com>