summary refs log tree commit diff stats
path: root/tests/qtest/migration/framework.h
diff options
context:
space:
mode:
authorSteve Sistare <steven.sistare@oracle.com>2025-10-01 08:34:09 -0700
committerFabiano Rosas <farosas@suse.de>2025-10-01 17:09:23 -0300
commitaca1533cd84edbbb084d5e201463ae480eb3877c (patch)
tree3c0b7c17b86537f6e922e38678fc965aee3f8575 /tests/qtest/migration/framework.h
parentbdd739a42c121aefa35bcfd6583c03d95a44c18f (diff)
downloadfocaccia-qemu-aca1533cd84edbbb084d5e201463ae480eb3877c.tar.gz
focaccia-qemu-aca1533cd84edbbb084d5e201463ae480eb3877c.zip
migration-test: migrate_args
Define the subroutine migrate_args to return the arguments that are
used to exec the source or target qemu process.

Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/qemu-devel/1759332851-370353-18-git-send-email-steven.sistare@oracle.com
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Diffstat (limited to 'tests/qtest/migration/framework.h')
-rw-r--r--tests/qtest/migration/framework.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/qtest/migration/framework.h b/tests/qtest/migration/framework.h
index cc0d09b6da..9bb584a6bb 100644
--- a/tests/qtest/migration/framework.h
+++ b/tests/qtest/migration/framework.h
@@ -223,6 +223,8 @@ typedef struct {
 void wait_for_serial(const char *side);
 void migrate_prepare_for_dirty_mem(QTestState *from);
 void migrate_wait_for_dirty_mem(QTestState *from, QTestState *to);
+
+int migrate_args(char **from, char **to, const char *uri, MigrateStart *args);
 int migrate_start(QTestState **from, QTestState **to, const char *uri,
                   MigrateStart *args);
 void migrate_end(QTestState *from, QTestState *to, bool test_dest);