migration-test: Create cmd_soure and cmd_target
authorJuan Quintela <quintela@redhat.com>
Thu, 12 Dec 2019 22:20:24 +0000 (23:20 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 17 Dec 2019 18:32:23 +0000 (19:32 +0100)
commit8443415f9a09b6d95d99f02733eb71ac4f2d574d
treec41e9e03b7aa16d4e1951d993d1ea581b8c23c7d
parent9b3a31c745b61758aaa5466a3a9fc0526d409188
migration-test: Create cmd_soure and cmd_target

We are repeating almost everything for each machine while creating the
command line for migration.  And once for source and another for
destination.  We start putting there opts_src and opts_dst.

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