@@ -85,27 +85,6 @@ void monitor_print_balloon(Monitor *mon, const QObject *data)
monitor_printf(mon, "\n");
}
-/**
- * qmp_query_balloon(): Balloon information
- *
- * Make an asynchronous request for balloon info. When the request completes
- * a QDict will be returned according to the following specification:
- *
- * - "actual": current balloon value in bytes
- * The following fields may or may not be present:
- * - "mem_swapped_in": Amount of memory swapped in (bytes)
- * - "mem_swapped_out": Amount of memory swapped out (bytes)
- * - "major_page_faults": Number of major faults
- * - "minor_page_faults": Number of minor faults
- * - "free_mem": Total amount of free and unused memory (bytes)
- * - "total_mem": Total amount of available memory (bytes)
- *
- * Example:
- *
- * { "actual": 1073741824, "mem_swapped_in": 0, "mem_swapped_out": 0,
- * "major_page_faults": 142, "minor_page_faults": 239245,
- * "free_mem": 1014185984, "total_mem": 1044668416 }
- */
int qmp_query_balloon(Monitor *mon, MonitorCompletion cb, void *opaque)
{
int ret;
@@ -124,9 +103,6 @@ int qmp_query_balloon(Monitor *mon, MonitorCompletion cb, void *opaque)
return 0;
}
-/**
- * do_balloon(): Request VM to change its memory allocation
- */
int do_balloon(Monitor *mon, const QDict *params,
MonitorCompletion cb, void *opaque)
{
Commit 637503d122eb7656d91a8489e254d9e880be7504 dropped (duplicated) documentation from code, but it missed the balloon handlers. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> --- balloon.c | 24 ------------------------ 1 files changed, 0 insertions(+), 24 deletions(-)