From 3dec966f2798ebee41fc82fe4d1036d907ec51a4 Mon Sep 17 00:00:00 2001 From: Juraj Marcin Date: Tue, 7 Jan 2025 17:31:54 +0100 Subject: 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 Reviewed-by: Peter Xu Signed-off-by: Fabiano Rosas --- tests/qtest/migration/framework.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/qtest/migration/framework.h') diff --git a/tests/qtest/migration/framework.h b/tests/qtest/migration/framework.h index e9fc4ec..7991ee5 100644 --- a/tests/qtest/migration/framework.h +++ b/tests/qtest/migration/framework.h @@ -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 { -- cgit v1.1