aboutsummaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2009-12-10 17:16:05 -0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-12 07:59:49 -0600
commitc86a668390d16d6b3249acd50bfa61ad825c7a80 (patch)
tree5e5e621d1af46c48c7c90a0f1ffef8972cbae453 /monitor.c
parente78c48ec4e192ef1b1a210bdf5a8d253d7826c25 (diff)
downloadqemu-c86a668390d16d6b3249acd50bfa61ad825c7a80.zip
qemu-c86a668390d16d6b3249acd50bfa61ad825c7a80.tar.gz
qemu-c86a668390d16d6b3249acd50bfa61ad825c7a80.tar.bz2
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 'monitor.c')
-rw-r--r--monitor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/monitor.c b/monitor.c
index aa97f89..0cb534a 100644
--- a/monitor.c
+++ b/monitor.c
@@ -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",