qbus_print(mon, main_system_bus, 0);
}
-void do_info_qdrv(Monitor *mon)
+void do_info_qdm(Monitor *mon)
{
DeviceInfo *info;
char msg[256];
/*** monitor commands ***/
void do_info_qtree(Monitor *mon);
-void do_info_qdrv(Monitor *mon);
+void do_info_qdm(Monitor *mon);
/*** qdev-properties.c ***/
DEFINE_PROP(_n, _s, _f, qdev_prop_ptr, void*)
#define DEFINE_PROP_CHR(_n, _s, _f) \
DEFINE_PROP(_n, _s, _f, qdev_prop_chr, CharDriverState*)
+#define DEFINE_PROP_DRIVE(_n, _s, _f) \
+ DEFINE_PROP(_n, _s, _f, qdev_prop_chr, DriveInfo*)
#define DEFINE_PROP_MACADDR(_n, _s, _f) \
DEFINE_PROP(_n, _s, _f, qdev_prop_macaddr, uint8_t[6])
"", "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, },
};