[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 00/10] Migration Arguments cleanup
From: |
Laurent Vivier |
Subject: |
Re: [PATCH 00/10] Migration Arguments cleanup |
Date: |
Mon, 16 Dec 2019 14:48:58 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 |
On 12/12/2019 23:20, Juan Quintela wrote:
> Hi
>
> This series simplify test_migrate_start() in two ways:
> - simplify the command line creation, so everything that is common between
> architectures don't have to be repeated (DRY).
> Note that this bit remove lines of code.
> - test_migrate_start() has two bools and two strings as arguments, it is very
> difficult to remmeber which is which and meaning. And it is even worse to
> add new parameters. Just pass them through one struct.
>
> Please, review.
>
> Juan Quintela (10):
> migration-test: Create cmd_soure and cmd_target
> migration-test: Move hide_stderr to common commandline
> migration-test: Move -machine to common commandline
> migration-test: Move memory size to common commandline
> migration-test: Move shmem handling to common commandline
> migration-test: Move -name handling to common commandline
> migration-test: Move -serial handling to common commandline
> migration-test: Move -incomming handling to common commandline
> migration-test: Rename cmd_src/dst to arch_source/arch_target
> migration-test: Use a struct for test_migrate_start parameters
>
> tests/migration-test.c | 265 +++++++++++++++++++++++------------------
> 1 file changed, 147 insertions(+), 118 deletions(-)
>
For ppc64:
Tested-by: Laurent Vivier <address@hidden>
- Re: [PATCH 01/10] migration-test: Create cmd_soure and cmd_target, (continued)
- [PATCH 03/10] migration-test: Move -machine to common commandline, Juan Quintela, 2019/12/12
- [PATCH 04/10] migration-test: Move memory size to common commandline, Juan Quintela, 2019/12/12
- [PATCH 05/10] migration-test: Move shmem handling to common commandline, Juan Quintela, 2019/12/12
- [PATCH 07/10] migration-test: Move -serial handling to common commandline, Juan Quintela, 2019/12/12
- [PATCH 06/10] migration-test: Move -name handling to common commandline, Juan Quintela, 2019/12/12
- [PATCH 08/10] migration-test: Move -incomming handling to common commandline, Juan Quintela, 2019/12/12
- [PATCH 09/10] migration-test: Rename cmd_src/dst to arch_source/arch_target, Juan Quintela, 2019/12/12
- [PATCH 10/10] migration-test: Use a struct for test_migrate_start parameters, Juan Quintela, 2019/12/12
- Re: [PATCH 00/10] Migration Arguments cleanup, Cornelia Huck, 2019/12/16
- Re: [PATCH 00/10] Migration Arguments cleanup,
Laurent Vivier <=
- Re: [PATCH 00/10] Migration Arguments cleanup, Paolo Bonzini, 2019/12/16