summary refs log tree commit diff stats
path: root/tests/qtest/migration/migration-qmp.c
diff options
context:
space:
mode:
authorJuraj Marcin <jmarcin@redhat.com>2025-01-07 17:31:54 +0100
committerFabiano Rosas <farosas@suse.de>2025-01-17 11:48:44 -0300
commit3dec966f2798ebee41fc82fe4d1036d907ec51a4 (patch)
treebb66ea5dd955dd2dc33a239aaec3139865eccc0c /tests/qtest/migration/migration-qmp.c
parent99baa5d921e7414c83444c379510c6aad5c023a7 (diff)
downloadfocaccia-qemu-3dec966f2798ebee41fc82fe4d1036d907ec51a4.tar.gz
focaccia-qemu-3dec966f2798ebee41fc82fe4d1036d907ec51a4.zip
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/migration-qmp.c')
-rw-r--r--tests/qtest/migration/migration-qmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/migration/migration-qmp.c b/tests/qtest/migration/migration-qmp.c
index 71b14b51b2..9431d2beda 100644
--- a/tests/qtest/migration/migration-qmp.c
+++ b/tests/qtest/migration/migration-qmp.c
@@ -464,7 +464,7 @@ void migrate_continue(QTestState *who, const char *state)
 void migrate_recover(QTestState *who, const char *uri)
 {
     qtest_qmp_assert_success(who,
-                             "{ 'execute': 'migrate-recover', "
+                             "{ 'exec-oob': 'migrate-recover', "
                              "  'id': 'recover-cmd', "
                              "  'arguments': { 'uri': %s } }",
                              uri);