diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-10-02 18:21:18 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-10-23 13:54:56 +0200 |
commit | 43eaae28e0394f8fb80848fb40aa5d28c6360321 (patch) | |
tree | 493754ef3c272334e9ddf10792a5413d2264ee3b /migration.h | |
parent | f37afb5ab1921f42043b5527a517eef95c36acf8 (diff) | |
download | qemu-43eaae28e0394f8fb80848fb40aa5d28c6360321.zip qemu-43eaae28e0394f8fb80848fb40aa5d28c6360321.tar.gz qemu-43eaae28e0394f8fb80848fb40aa5d28c6360321.tar.bz2 |
migration (incoming): add error propagation to fd and exec protocols
And remove the superfluous integer return value.
Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'migration.h')
-rw-r--r-- | migration.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/migration.h b/migration.h index c805e28..c3a23cc 100644 --- a/migration.h +++ b/migration.h @@ -49,7 +49,7 @@ struct MigrationState void process_incoming_migration(QEMUFile *f); -int qemu_start_incoming_migration(const char *uri, Error **errp); +void qemu_start_incoming_migration(const char *uri, Error **errp); uint64_t migrate_max_downtime(void); @@ -57,19 +57,19 @@ void do_info_migrate_print(Monitor *mon, const QObject *data); void do_info_migrate(Monitor *mon, QObject **ret_data); -int exec_start_incoming_migration(const char *host_port); +void exec_start_incoming_migration(const char *host_port, Error **errp); void exec_start_outgoing_migration(MigrationState *s, const char *host_port, Error **errp); -int tcp_start_incoming_migration(const char *host_port, Error **errp); +void tcp_start_incoming_migration(const char *host_port, Error **errp); void tcp_start_outgoing_migration(MigrationState *s, const char *host_port, Error **errp); -int unix_start_incoming_migration(const char *path, Error **errp); +void unix_start_incoming_migration(const char *path, Error **errp); void unix_start_outgoing_migration(MigrationState *s, const char *path, Error **errp); -int fd_start_incoming_migration(const char *path); +void fd_start_incoming_migration(const char *path, Error **errp); void fd_start_outgoing_migration(MigrationState *s, const char *fdname, Error **errp); |