qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 03/25] Monitor: Drop balloon handlers comments


From: Luiz Capitulino
Subject: [Qemu-devel] [PATCH 03/25] Monitor: Drop balloon handlers comments
Date: Mon, 6 Dec 2010 16:23:50 -0200

Commit 637503d122eb7656d91a8489e254d9e880be7504 dropped (duplicated)
documentation from code, but it missed the balloon handlers.

Signed-off-by: Luiz Capitulino <address@hidden>
---
 balloon.c |   24 ------------------------
 1 files changed, 0 insertions(+), 24 deletions(-)

diff --git a/balloon.c b/balloon.c
index dbc6f44..b3edc7a 100644
--- a/balloon.c
+++ b/balloon.c
@@ -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)
 {
-- 
1.7.3.3.398.g0b0cd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]