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 08:17:32 -0600 |
commit | d2d51eeff012ba83097f47a511cb21b14da0a170 (patch) | |
tree | b66800cfdb4c0f8fa554f89ef77267ac407823d6 /migration.h | |
parent | 3be42b28c14e2826eebbced68ad3ceb92507401d (diff) | |
download | qemu-d2d51eeff012ba83097f47a511cb21b14da0a170.tar.gz |
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>
(cherry picked from commit c86a668390d16d6b3249acd50bfa61ad825c7a80)
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); |