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 /monitor.c | |
parent | monitor: Convert do_info_mice() to QObject (diff) | |
download | qemu-kvm-d2d51eeff012ba83097f47a511cb21b14da0a170.tar.gz qemu-kvm-d2d51eeff012ba83097f47a511cb21b14da0a170.tar.bz2 qemu-kvm-d2d51eeff012ba83097f47a511cb21b14da0a170.zip |
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 'monitor.c')
-rw-r--r-- | monitor.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2567,7 +2567,8 @@ static const mon_cmd_t info_cmds[] = { .args_type = "", .params = "", .help = "show migration status", - .mhandler.info = do_info_migrate, + .user_print = do_info_migrate_print, + .mhandler.info_new = do_info_migrate, }, { .name = "balloon", |