From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=35785 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PPfjb-0002v3-R7 for qemu-devel@nongnu.org; Mon, 06 Dec 2010 13:24:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PPfja-00047u-TQ for qemu-devel@nongnu.org; Mon, 06 Dec 2010 13:24:23 -0500 Received: from mx1.redhat.com ([209.132.183.28]:1025) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PPfja-00047q-L5 for qemu-devel@nongnu.org; Mon, 06 Dec 2010 13:24:22 -0500 From: Luiz Capitulino Date: Mon, 6 Dec 2010 16:23:50 -0200 Message-Id: <1291659852-23028-4-git-send-email-lcapitulino@redhat.com> In-Reply-To: <1291659852-23028-1-git-send-email-lcapitulino@redhat.com> References: <1291659852-23028-1-git-send-email-lcapitulino@redhat.com> Subject: [Qemu-devel] [PATCH 03/25] Monitor: Drop balloon handlers comments List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com, armbru@redhat.com Commit 637503d122eb7656d91a8489e254d9e880be7504 dropped (duplicated) documentation from code, but it missed the balloon handlers. Signed-off-by: Luiz Capitulino --- 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