mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
migration-test: misc exports
Export misc definitions needed by the cpr-exec test. 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-17-git-send-email-steven.sistare@oracle.com Signed-off-by: Fabiano Rosas <farosas@suse.de>
This commit is contained in:
committed by
Fabiano Rosas
parent
c454a8d254
commit
bdd739a42c
@@ -68,3 +68,8 @@ char *bootfile_create(const char *arch, const char *dir, bool suspend_me)
|
||||
|
||||
return bootpath;
|
||||
}
|
||||
|
||||
char *bootfile_get(void)
|
||||
{
|
||||
return bootpath;
|
||||
}
|
||||
|
||||
@@ -35,5 +35,6 @@
|
||||
|
||||
void bootfile_delete(void);
|
||||
char *bootfile_create(const char *arch, const char *dir, bool suspend_me);
|
||||
char *bootfile_get(void);
|
||||
|
||||
#endif /* BOOTFILE_H */
|
||||
|
||||
@@ -1007,6 +1007,11 @@ QTestMigrationState *get_src(void)
|
||||
return &src_state;
|
||||
}
|
||||
|
||||
QTestMigrationState *get_dst(void)
|
||||
{
|
||||
return &dst_state;
|
||||
}
|
||||
|
||||
MigrationTestEnv *migration_get_env(void)
|
||||
{
|
||||
static MigrationTestEnv *env;
|
||||
|
||||
@@ -237,6 +237,7 @@ void *migrate_hook_start_precopy_tcp_multifd_common(QTestState *from,
|
||||
|
||||
typedef struct QTestMigrationState QTestMigrationState;
|
||||
QTestMigrationState *get_src(void);
|
||||
QTestMigrationState *get_dst(void);
|
||||
|
||||
#ifdef CONFIG_GNUTLS
|
||||
void migration_test_add_tls(MigrationTestEnv *env);
|
||||
|
||||
Reference in New Issue
Block a user