Skip to content

test/qtest/migration: Use out-of-band execution for migrate-recover

Juraj Marcin qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tests/qtest: Introduce qtest_init_with_env_and_capabilities()tests/qtest/libqtest.c tests/qtest/libqtest.h+33 -20 replies
2/2tests/qtest/migration: Use out-of-band execution for migrate-recovertests/qtest/migration/framework.c tests/qtest/migration/framework.h tests/qtest/migration/migration-qmp.c+24 -30 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPeter Xu
SeriesR-b
1/2
2/2

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/2] test/qtest/migration: Use out-of-band execution for migrate-recover

In real use cases, the migrate-recover command requires out-of-band execution, because the main thread processing normal commands is blocked by a page fault in the guest memory. Tests, however, do not reflect this which might result in some bugs not being caught with tests.

The first patch in the series, adds a new qtest initialization function which accepts capabilities the test wants to enable. This allows a test to enable the oob capability.

The second patch then enables the oob capability in migration tests and changes the execution of the migrate-recover command.

Juraj Marcin (2):
tests/qtest: Introduce qtest_init_with_env_and_capabilities() tests/qtest/migration: Use out-of-band execution for migrate-recover

 tests/qtest/libqtest.c                | 18 ++++++++++++++++--
 tests/qtest/libqtest.h                | 17 +++++++++++++++++
 tests/qtest/migration/framework.c     | 23 +++++++++++++++++++++--
 tests/qtest/migration/framework.h     |  2 ++
 tests/qtest/migration/migration-qmp.c |  2 +-
 5 files changed, 57 insertions(+), 5 deletions(-)
Signature · 1 line
2.47.1