diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2009-12-10 17:16:05 -0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-12 07:59:49 -0600 |
commit | c86a668390d16d6b3249acd50bfa61ad825c7a80 (patch) | |
tree | 5e5e621d1af46c48c7c90a0f1ffef8972cbae453 /migration.h | |
parent | e78c48ec4e192ef1b1a210bdf5a8d253d7826c25 (diff) |
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 <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'migration.h')
-rw-r--r-- | migration.h | 4 |
1 files changed, 3 insertions, 1 deletions
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); |