summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2009-08-28 15:27:12 -0300
committerAnthony Liguori <aliguori@us.ibm.com>2009-09-04 09:37:30 -0500
commitf96fc8a0f10e30bc193c27ca6ea6f9ed975e77b2 (patch)
tree61a1b40218f1b7655df580377dad7b32880e9b78 /migration.c
parentmonitor: Export QDict header (diff)
downloadqemu-kvm-f96fc8a0f10e30bc193c27ca6ea6f9ed975e77b2.tar.gz
qemu-kvm-f96fc8a0f10e30bc193c27ca6ea6f9ed975e77b2.tar.bz2
qemu-kvm-f96fc8a0f10e30bc193c27ca6ea6f9ed975e77b2.zip
monitor: Port handler_0 to use QDict
This commit ports command handlers that receive no arguments to use the new monitor's dictionary. It might seem no sense to do this, as the handlers have no arguments, but at the end of this porting work all handlers will have the same structure. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'migration.c')
-rw-r--r--migration.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration.c b/migration.c
index c18d59584..df5e6389d 100644
--- a/migration.c
+++ b/migration.c
@@ -80,7 +80,7 @@ void do_migrate(Monitor *mon, int detach, const char *uri)
}
}
-void do_migrate_cancel(Monitor *mon)
+void do_migrate_cancel(Monitor *mon, const QDict *qdict)
{
MigrationState *s = current_migration;