qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] rename "info qdrv" to "info qdm"


From: Gerd Hoffmann
Subject: [Qemu-devel] [PATCH] rename "info qdrv" to "info qdm"
Date: Mon, 3 Aug 2009 15:03:09 +0200

As requested by avi: driver != device model.

Signed-off-by: Gerd Hoffmann <address@hidden>
---
 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, },
 };
 
-- 
1.6.2.5





reply via email to

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