diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2009-10-07 13:42:01 -0300 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-08 21:17:19 -0500 |
commit | bb7c032c1dadde6a680b874e4e3356a49ba4b6d4 (patch) | |
tree | 56f6a32871f3b898db84716c9723754a61b281c7 /qemu-monitor.hx | |
parent | 8e359cfa42ccfd6ec236a121b8a17c463fa665d2 (diff) | |
download | qemu-bb7c032c1dadde6a680b874e4e3356a49ba4b6d4.tar.gz qemu-bb7c032c1dadde6a680b874e4e3356a49ba4b6d4.tar.bz2 qemu-bb7c032c1dadde6a680b874e4e3356a49ba4b6d4.zip |
monitor: Convert do_balloon() to QObject
It is important to note that it never fails, as big refactoring
of the virtio code would be needed to get the proper error code.
Patchworks-ID: 35349
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-monitor.hx')
-rw-r--r-- | qemu-monitor.hx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qemu-monitor.hx b/qemu-monitor.hx index 8dca4f19d4..29999c6e38 100644 --- a/qemu-monitor.hx +++ b/qemu-monitor.hx @@ -874,7 +874,8 @@ ETEXI .args_type = "value:i", .params = "target", .help = "request VM to change it's memory allocation (in MB)", - .mhandler.cmd = do_balloon, + .user_print = monitor_user_noop, + .mhandler.cmd_new = do_balloon, }, STEXI |