rename "info qdrv" to "info qdm"
diff mbox

Message ID 1249304589-21865-1-git-send-email-kraxel@redhat.com
State Superseded
Headers show

Commit Message

Gerd Hoffmann Aug. 3, 2009, 1:03 p.m. UTC
As requested by avi: driver != device model.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 hw/qdev.c |    2 +-
 hw/qdev.h |    2 +-
 monitor.c |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

Patch
diff mbox

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, },
 };