From patchwork Mon Dec 6 18:23:49 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luiz Capitulino X-Patchwork-Id: 74422 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 6CA54B708B for ; Tue, 7 Dec 2010 05:27:50 +1100 (EST) Received: from localhost ([127.0.0.1]:48251 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PPfms-0004KU-Gt for incoming@patchwork.ozlabs.org; Mon, 06 Dec 2010 13:27:46 -0500 Received: from [140.186.70.92] (port=35781 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PPfjb-0002um-NA for qemu-devel@nongnu.org; Mon, 06 Dec 2010 13:24:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PPfjZ-00047e-4F for qemu-devel@nongnu.org; Mon, 06 Dec 2010 13:24:23 -0500 Received: from mx1.redhat.com ([209.132.183.28]:54748) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PPfjY-00047Z-UD for qemu-devel@nongnu.org; Mon, 06 Dec 2010 13:24:21 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oB6IOKQo012620 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 6 Dec 2010 13:24:20 -0500 Received: from localhost ([10.3.113.17]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id oB6IOJxI002808; Mon, 6 Dec 2010 13:24:19 -0500 From: Luiz Capitulino To: qemu-devel@nongnu.org Date: Mon, 6 Dec 2010 16:23:49 -0200 Message-Id: <1291659852-23028-3-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.68 on 10.5.11.24 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 02/25] QMP: Drop user_print usage from the qmp_query_cmds[] table 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 QMP doesn't use this field, it's only useful in the human monitor. NOTE: Other unused fields are going to be dropped by future commits. Signed-off-by: Luiz Capitulino --- monitor.c | 15 --------------- 1 files changed, 0 insertions(+), 15 deletions(-) diff --git a/monitor.c b/monitor.c index 0bf56e4..481eab2 100644 --- a/monitor.c +++ b/monitor.c @@ -2673,7 +2673,6 @@ static const mon_cmd_t qmp_query_cmds[] = { .args_type = "", .params = "", .help = "show the version of QEMU", - .user_print = do_info_version_print, .mhandler.info_new = qmp_query_version, }, { @@ -2681,7 +2680,6 @@ static const mon_cmd_t qmp_query_cmds[] = { .args_type = "", .params = "", .help = "list QMP available commands", - .user_print = monitor_user_noop, .mhandler.info_new = qmp_query_commands, }, { @@ -2689,7 +2687,6 @@ static const mon_cmd_t qmp_query_cmds[] = { .args_type = "", .params = "", .help = "show the character devices", - .user_print = qemu_chr_info_print, .mhandler.info_new = qmp_query_chardev, }, { @@ -2697,7 +2694,6 @@ static const mon_cmd_t qmp_query_cmds[] = { .args_type = "", .params = "", .help = "show the block devices", - .user_print = bdrv_info_print, .mhandler.info_new = qmp_query_block, }, { @@ -2705,7 +2701,6 @@ static const mon_cmd_t qmp_query_cmds[] = { .args_type = "", .params = "", .help = "show block device statistics", - .user_print = bdrv_stats_print, .mhandler.info_new = qmp_query_blockstats, }, { @@ -2713,7 +2708,6 @@ static const mon_cmd_t qmp_query_cmds[] = { .args_type = "", .params = "", .help = "show infos for each CPU", - .user_print = monitor_print_cpus, .mhandler.info_new = qmp_query_cpus, }, { @@ -2721,7 +2715,6 @@ static const mon_cmd_t qmp_query_cmds[] = { .args_type = "", .params = "", .help = "show PCI info", - .user_print = do_pci_info_print, .mhandler.info_new = qmp_query_pci, }, { @@ -2729,7 +2722,6 @@ static const mon_cmd_t qmp_query_cmds[] = { .args_type = "", .params = "", .help = "show KVM information", - .user_print = do_info_kvm_print, .mhandler.info_new = qmp_query_kvm, }, { @@ -2737,7 +2729,6 @@ static const mon_cmd_t qmp_query_cmds[] = { .args_type = "", .params = "", .help = "show the current VM status (running|paused)", - .user_print = do_info_status_print, .mhandler.info_new = qmp_query_status, }, { @@ -2745,7 +2736,6 @@ static const mon_cmd_t qmp_query_cmds[] = { .args_type = "", .params = "", .help = "show which guest mouse is receiving events", - .user_print = do_info_mice_print, .mhandler.info_new = qmp_query_mice, }, { @@ -2753,7 +2743,6 @@ static const mon_cmd_t qmp_query_cmds[] = { .args_type = "", .params = "", .help = "show the vnc server status", - .user_print = do_info_vnc_print, .mhandler.info_new = qmp_query_vnc, }, { @@ -2761,7 +2750,6 @@ static const mon_cmd_t qmp_query_cmds[] = { .args_type = "", .params = "", .help = "show the current VM name", - .user_print = do_info_name_print, .mhandler.info_new = qmp_query_name, }, { @@ -2769,7 +2757,6 @@ static const mon_cmd_t qmp_query_cmds[] = { .args_type = "", .params = "", .help = "show the current VM UUID", - .user_print = do_info_uuid_print, .mhandler.info_new = qmp_query_uuid, }, { @@ -2777,7 +2764,6 @@ static const mon_cmd_t qmp_query_cmds[] = { .args_type = "", .params = "", .help = "show migration status", - .user_print = do_info_migrate_print, .mhandler.info_new = qmp_query_migrate, }, { @@ -2785,7 +2771,6 @@ static const mon_cmd_t qmp_query_cmds[] = { .args_type = "", .params = "", .help = "show balloon information", - .user_print = monitor_print_balloon, .mhandler.info_async = qmp_query_balloon, .flags = MONITOR_CMD_ASYNC, },