aboutsummaryrefslogtreecommitdiff
path: root/migration.h
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.h
parentcdb0def36d51d908b60772cd541d90fc63c4e945 (diff)
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.h')
-rw-r--r--migration.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/migration.h b/migration.h
index 96dad38eb5..431b7ecedd 100644
--- a/migration.h
+++ b/migration.h
@@ -14,6 +14,7 @@
#ifndef QEMU_MIGRATION_H
#define QEMU_MIGRATION_H
+#include "qdict.h"
#include "qemu-common.h"
#define MIG_STATE_ERROR -1
@@ -51,7 +52,7 @@ void qemu_start_incoming_migration(const char *uri);
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);
void do_migrate_set_speed(Monitor *mon, const char *value);