[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 00/10] Migration Arguments cleanup
From: |
Juan Quintela |
Subject: |
[PATCH v2 00/10] Migration Arguments cleanup |
Date: |
Wed, 18 Dec 2019 02:55:10 +0100 |
[v2]
- fix use-after-free (thanks peter)
[v1]
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 | 269 +++++++++++++++++++++++------------------
1 file changed, 149 insertions(+), 120 deletions(-)
--
2.23.0
- [PATCH v2 00/10] Migration Arguments cleanup,
Juan Quintela <=
- [PATCH v2 01/10] migration-test: Create cmd_soure and cmd_target, Juan Quintela, 2019/12/17
- [PATCH v2 04/10] migration-test: Move memory size to common commandline, Juan Quintela, 2019/12/17
- [PATCH v2 05/10] migration-test: Move shmem handling to common commandline, Juan Quintela, 2019/12/17
- [PATCH v2 02/10] migration-test: Move hide_stderr to common commandline, Juan Quintela, 2019/12/17
- [PATCH v2 06/10] migration-test: Move -name handling to common commandline, Juan Quintela, 2019/12/17
- [PATCH v2 03/10] migration-test: Move -machine to common commandline, Juan Quintela, 2019/12/17
- [PATCH v2 09/10] migration-test: Rename cmd_src/dst to arch_source/arch_target, Juan Quintela, 2019/12/17