From patchwork Mon Aug 3 13:03:09 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerd Hoffmann X-Patchwork-Id: 30586 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 0E00BB6F20 for ; Tue, 4 Aug 2009 02:10:55 +1000 (EST) Received: from localhost ([127.0.0.1]:35282 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MY07f-000662-Ro for incoming@patchwork.ozlabs.org; Mon, 03 Aug 2009 12:10:51 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXxCD-0007qG-Vq for qemu-devel@nongnu.org; Mon, 03 Aug 2009 09:03:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXxC9-0007pe-3i for qemu-devel@nongnu.org; Mon, 03 Aug 2009 09:03:21 -0400 Received: from [199.232.76.173] (port=54820 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXxC8-0007pb-Sc for qemu-devel@nongnu.org; Mon, 03 Aug 2009 09:03:16 -0400 Received: from mx2.redhat.com ([66.187.237.31]:38485) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MXxC8-0005Lf-46 for qemu-devel@nongnu.org; Mon, 03 Aug 2009 09:03:16 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n73D3FX5011657 for ; Mon, 3 Aug 2009 09:03:15 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n73D3Ek6032411; Mon, 3 Aug 2009 09:03:14 -0400 Received: from zweiblum.home.kraxel.org (vpn2-8-59.ams2.redhat.com [10.36.8.59]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with SMTP id n73D3CYv012448; Mon, 3 Aug 2009 09:03:13 -0400 Received: by zweiblum.home.kraxel.org (Postfix, from userid 500) id 8B076700D0; Mon, 3 Aug 2009 15:03:10 +0200 (CEST) From: Gerd Hoffmann To: qemu-devel@nongnu.org Date: Mon, 3 Aug 2009 15:03:09 +0200 Message-Id: <1249304589-21865-1-git-send-email-kraxel@redhat.com> X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: Gerd Hoffmann Subject: [Qemu-devel] [PATCH] rename "info qdrv" to "info qdm" 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 As requested by avi: driver != device model. Signed-off-by: Gerd Hoffmann --- hw/qdev.c | 2 +- hw/qdev.h | 2 +- monitor.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/qdev.c b/hw/qdev.c index fc95115..ee92db9 100644 --- a/hw/qdev.c +++ b/hw/qdev.c @@ -599,7 +599,7 @@ void do_info_qtree(Monitor *mon) qbus_print(mon, main_system_bus, 0); } -void do_info_qdrv(Monitor *mon) +void do_info_qdm(Monitor *mon) { DeviceInfo *info; char msg[256]; diff --git a/hw/qdev.h b/hw/qdev.h index b342afb..3e91a18 100644 --- a/hw/qdev.h +++ b/hw/qdev.h @@ -143,7 +143,7 @@ BusState *qbus_create(BusInfo *info, DeviceState *parent, const char *name); /*** monitor commands ***/ void do_info_qtree(Monitor *mon); -void do_info_qdrv(Monitor *mon); +void do_info_qdm(Monitor *mon); /*** qdev-properties.c ***/ diff --git a/monitor.c b/monitor.c index aac8878..17fc48e 100644 --- a/monitor.c +++ b/monitor.c @@ -1882,8 +1882,8 @@ static const mon_cmd_t info_cmds[] = { "", "show balloon information" }, { "qtree", "", do_info_qtree, "", "show device tree" }, - { "qdrv", "", do_info_qdrv, - "", "show qdev driver list" }, + { "qdm", "", do_info_qdm, + "", "show qdev device model list" }, { NULL, NULL, }, };