tests: switch MigrateStart struct to be stack allocated
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 10 Mar 2022 17:18:10 +0000 (17:18 +0000)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 21 Apr 2022 18:36:46 +0000 (19:36 +0100)
commit19da6edfe87615462e469e77062d841c27514599
tree694d2c51d8653442c16197b86a253a7f985d62fa
parent4b2bbca7a0b58475d7ffb2fea05adbe08cde57f8
tests: switch MigrateStart struct to be stack allocated

There's no compelling reason why the MigrateStart struct needs to be
heap allocated. Using stack allocation and static initializers is
simpler.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20220310171821.3724080-8-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