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 <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
diff --git a/migration.h b/migration.h
index 96dad38..431b7ec 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 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);