Skip to content

migration: Test the new "file:" migration

Fabiano Rosas qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6migration: Set migration status early in incoming sidemigration/migration.c+15 -22 replies
2/6tests/qtest: migration: Expose migrate_set_capabilitytests/qtest/migration-helpers.c tests/qtest/migration-helpers.h tests/qtest/migration-test.c+14 -111 reply
3/6tests/qtest: migration: Add migrate_incoming_qmp helpertests/qtest/migration-helpers.c tests/qtest/migration-helpers.h+32 -00 replies
4/6tests/qtest: migration: Use migrate_incoming_qmp where appropriatetests/qtest/meson.build tests/qtest/migration-test.c tests/qtest/virtio-net-failover.c+14 -761 reply
5/6tests/qtest: migration: Add support for negative testing of qmp_migratetests/qtest/libqtest.c tests/qtest/libqtest.h tests/qtest/migration-helpers.c +2 more+100 -40 replies
6/6tests/qtest: migration-test: Add tests for file-based migrationtests/qtest/migration-test.c+66 -02 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchJuan Quintela
1/6
2/6R-b
3/6
4/6R-b
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] migration: Test the new "file:" migration

Based-on:
[PATCH V3 0/2] migration file URI
https://lore.kernel.org/r/[email protected]

Here's the test for the file: migration.

I hit an issue with the setting of migration status. If we call query-migrate too soon after migrate-incoming, the query returns an empty response because we're not setting the MIGRATION_STATUS_SETUP in the incoming path. We just send the event, but never actually change state.

Aside from the fix, there's some tidying up to avoid duplicating too much code in the tests.

Thanks

CI run: https://gitlab.com/farosas/qemu/-/pipelines/912226554

Fabiano Rosas (5):
migration: Set migration status early in incoming side tests/qtest: migration: Expose migrate_set_capability tests/qtest: migration: Add migrate_incoming_qmp helper tests/qtest: migration: Use migrate_incoming_qmp where appropriate tests/qtest: migration: Add support for negative testing of
qmp_migrate

Nikolay Borisov (1):
tests/qtest: migration-test: Add tests for file-based migration

 migration/migration.c             |  17 ++++-
 tests/qtest/libqtest.c            |  33 ++++++++++
 tests/qtest/libqtest.h            |  28 ++++++++
 tests/qtest/meson.build           |   1 +
 tests/qtest/migration-helpers.c   |  61 +++++++++++++++++
 tests/qtest/migration-helpers.h   |  11 ++++
 tests/qtest/migration-test.c      | 106 +++++++++++++++++++++++-------
 tests/qtest/virtio-net-failover.c |  77 +++-------------------
 8 files changed, 241 insertions(+), 93 deletions(-)
Signature · 1 line
2.35.3