migration-test: Use a struct for test_migrate_start parameters
commit5d3b575da64ed3f45952218ab5d3bd9985f35941
authorJuan Quintela <quintela@redhat.com>
Thu, 12 Dec 2019 22:20:33 +0000 (12 23:20 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 17 Dec 2019 18:32:24 +0000 (17 19:32 +0100)
treeed70748a61673eeb31ee67320ef652bfdfdd4522
parent68d956092f156ad74e4f75437de626af6192fb71
migration-test: Use a struct for test_migrate_start parameters

It has two bools and two strings, it is very difficult to remember
which does what.  And it makes very difficult to add new parameters as
we need to modify all the callers.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Tested-by: Cornelia Huck <cohuck@redhat.com> #s390x
Tested-by: Laurent Vivier <lvivier@redhat.com>
tests/migration-test.c