mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
qapi: Convert query-balloon
Please, note that some of the code supporting memory statistics is still around (eg. virtio_balloon_receive_stats() and reset_stats()). Also, the qmp_query_balloon() function is synchronous and thus doesn't make any use of the (not fully working) monitor's asynchronous command support (the old non-qapi implementation did). Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
This commit is contained in:
parent
d1f29646f2
commit
96637bcdf9
8 changed files with 120 additions and 138 deletions
|
@ -1989,3 +1989,8 @@ Example:
|
|||
|
||||
EQMP
|
||||
|
||||
{
|
||||
.name = "query-balloon",
|
||||
.args_type = "",
|
||||
.mhandler.cmd_new = qmp_marshal_input_query_balloon,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue