From patchwork Mon Dec 6 18:23:50 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luiz Capitulino X-Patchwork-Id: 74434 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 2BFDDB70AF for ; Tue, 7 Dec 2010 05:33:36 +1100 (EST) Received: from localhost ([127.0.0.1]:49800 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PPfsT-0007KN-7F for incoming@patchwork.ozlabs.org; Mon, 06 Dec 2010 13:33:33 -0500 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 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oB6IOLY0021182 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 6 Dec 2010 13:24:22 -0500 Received: from localhost ([10.3.113.17]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id oB6IOKAw006999; Mon, 6 Dec 2010 13:24:21 -0500 From: Luiz Capitulino To: qemu-devel@nongnu.org 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> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. Cc: aliguori@us.ibm.com, armbru@redhat.com Subject: [Qemu-devel] [PATCH 03/25] Monitor: Drop balloon handlers comments X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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) {