tests/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 thread processing normal commands is blocked by a
page fault in the guest memory. With this change, the tests will be
closer to real use cases and could help detect regressions and other
bugs in migration recovery.

Signed-off-by: Juraj Marcin <jmarcin@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
This commit is contained in:
Juraj Marcin 2025-01-07 17:31:54 +01:00 committed by Fabiano Rosas
parent 99baa5d921
commit 3dec966f27
3 changed files with 24 additions and 3 deletions

View file

@ -109,6 +109,8 @@ typedef struct {
const char *opts_target;
/* suspend the src before migrating to dest. */
bool suspend_me;
/* enable OOB QMP capability */
bool oob;
} MigrateStart;
typedef enum PostcopyRecoveryFailStage {