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:
parent
c454a8d254
commit
bdd739a42c
4 changed files with 12 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue