aboutsummaryrefslogtreecommitdiff
path: root/migration/exec.h
diff options
context:
space:
mode:
authorHet Gala <het.gala@nutanix.com>2023-10-23 15:20:46 -0300
committerJuan Quintela <quintela@redhat.com>2023-11-02 11:35:04 +0100
commitcbab4face57b829e93e935b3bf52bf9f1bea0e42 (patch)
tree7b0149dbe01c459c95bcae7e70cd68264ca7bfb0 /migration/exec.h
parent3fa9642ff7d51f7fc3ba68e6ccd13a939d5bd609 (diff)
migration: convert exec backend to accept MigrateAddress.
Exec transport backend for 'migrate'/'migrate-incoming' QAPIs accept new wire protocol of MigrateAddress struct. It is achived by parsing 'uri' string and storing migration parameters required for exec connection into strList struct. Suggested-by: Aravind Retnakaran <aravind.retnakaran@nutanix.com> Signed-off-by: Het Gala <het.gala@nutanix.com> Signed-off-by: Fabiano Rosas <farosas@suse.de> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com> Message-ID: <20231023182053.8711-8-farosas@suse.de>
Diffstat (limited to 'migration/exec.h')
-rw-r--r--migration/exec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/migration/exec.h b/migration/exec.h
index 736cd71028..3107f205e3 100644
--- a/migration/exec.h
+++ b/migration/exec.h
@@ -23,8 +23,8 @@
#ifdef WIN32
const char *exec_get_cmd_path(void);
#endif
-void exec_start_incoming_migration(const char *host_port, Error **errp);
+void exec_start_incoming_migration(strList *host_port, Error **errp);
-void exec_start_outgoing_migration(MigrationState *s, const char *host_port,
+void exec_start_outgoing_migration(MigrationState *s, strList *host_port,
Error **errp);
#endif