From 6cdedb075f7a338bff7e97b3139bae5289157ae0 Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Sun, 27 Nov 2011 22:54:09 -0200 Subject: qapi: Convert migrate_cancel Signed-off-by: Luiz Capitulino --- migration.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'migration.c') diff --git a/migration.c b/migration.c index 8280d7189a..fa603d68e9 100644 --- a/migration.c +++ b/migration.c @@ -468,10 +468,9 @@ int do_migrate(Monitor *mon, const QDict *qdict, QObject **ret_data) return 0; } -int do_migrate_cancel(Monitor *mon, const QDict *qdict, QObject **ret_data) +void qmp_migrate_cancel(Error **errp) { migrate_fd_cancel(migrate_get_current()); - return 0; } int do_migrate_set_speed(Monitor *mon, const QDict *qdict, QObject **ret_data) -- cgit v1.2.3