Skip to content

Migration Arguments cleanup

Juan Quintela qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest10 patches 4 repliesIn review
  2. v110 patches 7 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10migration-test: Create cmd_soure and cmd_targettests/migration-test.c+25 -192 replies
2/10migration-test: Move hide_stderr to common commandlinetests/migration-test.c+8 -120 replies
3/10migration-test: Move -machine to common commandlinetests/migration-test.c+30 -210 replies
4/10migration-test: Move memory size to common commandlinetests/migration-test.c+25 -190 replies
5/10migration-test: Move shmem handling to common commandlinetests/migration-test.c+34 -420 replies
6/10migration-test: Move -name handling to common commandlinetests/migration-test.c+9 -130 replies
7/10migration-test: Move -serial handling to common commandlinetests/migration-test.c+16 -250 replies
8/10migration-test: Move -incomming handling to common commandlinetests/migration-test.c+8 -151 reply
9/10migration-test: Rename cmd_src/dst to arch_source/arch_targettests/migration-test.c+21 -191 reply
10/10migration-test: Use a struct for test_migrate_start parameterstests/migration-test.c+78 -400 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 00/10] Migration Arguments cleanup

[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(-)
Signature · 1 line
2.23.0