From c86a668390d16d6b3249acd50bfa61ad825c7a80 Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Thu, 10 Dec 2009 17:16:05 -0200 Subject: migration: Convert do_info_migrate() to QObject Return a QDict, which may contain up to more two QDicts, depending on the type of migration we're performing. IMPORTANT: as a QInt stores a int64_t integer, RAM values are going to be stored as int64_t and not as uint64_t as they are today. If this is a problem QInt will have to be changed. This commit should not change user output. Signed-off-by: Luiz Capitulino Signed-off-by: Anthony Liguori --- migration.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'migration.h') diff --git a/migration.h b/migration.h index 3f2b3df2bd..3ac208bf5e 100644 --- a/migration.h +++ b/migration.h @@ -62,7 +62,9 @@ uint64_t migrate_max_downtime(void); void do_migrate_set_downtime(Monitor *mon, const QDict *qdict); -void do_info_migrate(Monitor *mon); +void do_info_migrate_print(Monitor *mon, const QObject *data); + +void do_info_migrate(Monitor *mon, QObject **ret_data); int exec_start_incoming_migration(const char *host_port); -- cgit v1.2.3