summaryrefslogtreecommitdiffstats
path: root/migration.h
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2010-02-10 23:49:57 -0200
committerAnthony Liguori <aliguori@us.ibm.com>2010-02-19 15:18:17 -0600
commitb5d17adb932b16226c8073c3411cf5c93df22cb8 (patch)
treebaebfc69d449b18650772f09d3ad9c00f6b19fdd /migration.h
parent053801bc4950ec797ab8b47b4189dcdf2a1fc016 (diff)
downloadhqemu-b5d17adb932b16226c8073c3411cf5c93df22cb8.zip
hqemu-b5d17adb932b16226c8073c3411cf5c93df22cb8.tar.gz
Monitor: Convert do_migrate() to cmd_new_ret()
While there I'm also dropping a unneeded else clause (the last one in the function). Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'migration.h')
-rw-r--r--migration.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration.h b/migration.h
index 9345d97..385423f 100644
--- a/migration.h
+++ b/migration.h
@@ -52,7 +52,7 @@ struct FdMigrationState
void qemu_start_incoming_migration(const char *uri);
-void do_migrate(Monitor *mon, const QDict *qdict, QObject **ret_data);
+int do_migrate(Monitor *mon, const QDict *qdict, QObject **ret_data);
int do_migrate_cancel(Monitor *mon, const QDict *qdict, QObject **ret_data);
OpenPOWER on IntegriCloud