summaryrefslogtreecommitdiff
path: root/hmp-commands.hx
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2011-11-25 14:38:09 -0200
committerLuiz Capitulino <lcapitulino@redhat.com>2011-12-06 11:40:01 -0200
commitd72f326431e280a619a0fd55e27d3737747f8178 (patch)
tree14ae3162f13447b2a702974d9df5f830a538ff67 /hmp-commands.hx
parenta4dea8a9f4e0a4a863e5f3b366350fd697552d8a (diff)
downloadqemu-d72f326431e280a619a0fd55e27d3737747f8178.tar.gz
qemu-d72f326431e280a619a0fd55e27d3737747f8178.tar.bz2
qemu-d72f326431e280a619a0fd55e27d3737747f8178.zip
qapi: Convert balloon
Note that the command being dropped uses the deprecated MONITOR_CMD_ASYNC API, but the new command is a regular synchronous command. There shouldn't be visible differences though, as MONITOR_CMD_ASYNC is internal only. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'hmp-commands.hx')
-rw-r--r--hmp-commands.hx4
1 files changed, 1 insertions, 3 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx
index 0bf88961b7..ea52271f35 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -1022,9 +1022,7 @@ ETEXI
.args_type = "value:M",
.params = "target",
.help = "request VM to change its memory allocation (in MB)",
- .user_print = monitor_user_noop,
- .mhandler.cmd_async = do_balloon,
- .flags = MONITOR_CMD_ASYNC,
+ .mhandler.cmd = hmp_balloon,
},
STEXI