Re: [PATCH v2 07/18] tests: switch MigrateStart struct to be stack allocated

2022-03-10 Thread Peter Xu
On Thu, Mar 10, 2022 at 05:18:10PM +, Daniel P. Berrangé wrote: > 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é Reviewed-by: Peter Xu -- Peter Xu

[PATCH v2 07/18] tests: switch MigrateStart struct to be stack allocated

2022-03-10 Thread Daniel P . Berrangé
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é --- tests/qtest/migration-test.c | 134 +++ 1 file changed, 56 insertions(+), 78 delet