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>
This commit is contained in:
Luiz Capitulino 2009-10-07 13:42:01 -03:00 committed by Anthony Liguori
parent a1f896a041
commit 83fb1de2bb
2 changed files with 6 additions and 3 deletions

View file

@ -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