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>
Showing
- balloon.c 14 additions, 58 deletionsballoon.c
- balloon.h 2 additions, 4 deletionsballoon.h
- hmp.c 39 additions, 0 deletionshmp.c
- hmp.h 1 addition, 0 deletionshmp.h
- hw/virtio-balloon.c 14 additions, 64 deletionshw/virtio-balloon.c
- monitor.c 1 addition, 12 deletionsmonitor.c
- qapi-schema.json 44 additions, 0 deletionsqapi-schema.json
- qmp-commands.hx 5 additions, 0 deletionsqmp-commands.hx
Loading
Please register or sign in to comment