diff options
author | Juraj Marcin <jmarcin@redhat.com> | 2025-01-07 17:31:54 +0100 |
---|---|---|
committer | Fabiano Rosas <farosas@suse.de> | 2025-01-17 11:48:44 -0300 |
commit | 3dec966f2798ebee41fc82fe4d1036d907ec51a4 (patch) | |
tree | bb66ea5dd955dd2dc33a239aaec3139865eccc0c /tests/qtest/migration/framework.h | |
parent | 99baa5d921e7414c83444c379510c6aad5c023a7 (diff) | |
download | qemu-3dec966f2798ebee41fc82fe4d1036d907ec51a4.zip qemu-3dec966f2798ebee41fc82fe4d1036d907ec51a4.tar.gz qemu-3dec966f2798ebee41fc82fe4d1036d907ec51a4.tar.bz2 |
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>
Diffstat (limited to 'tests/qtest/migration/framework.h')
-rw-r--r-- | tests/qtest/migration/framework.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 { |