rename "info qdrv" to "info qdm"
As requested by avi: driver != device model. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Message-Id:
This commit is contained in:
parent
22f2e34474
commit
f6c64e0eea
|
@ -597,7 +597,7 @@ void do_info_qtree(Monitor *mon)
|
||||||
qbus_print(mon, main_system_bus, 0);
|
qbus_print(mon, main_system_bus, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void do_info_qdrv(Monitor *mon)
|
void do_info_qdm(Monitor *mon)
|
||||||
{
|
{
|
||||||
DeviceInfo *info;
|
DeviceInfo *info;
|
||||||
char msg[256];
|
char msg[256];
|
||||||
|
|
|
@ -148,7 +148,7 @@ BusState *qbus_create(BusInfo *info, DeviceState *parent, const char *name);
|
||||||
/*** monitor commands ***/
|
/*** monitor commands ***/
|
||||||
|
|
||||||
void do_info_qtree(Monitor *mon);
|
void do_info_qtree(Monitor *mon);
|
||||||
void do_info_qdrv(Monitor *mon);
|
void do_info_qdm(Monitor *mon);
|
||||||
|
|
||||||
/*** qdev-properties.c ***/
|
/*** qdev-properties.c ***/
|
||||||
|
|
||||||
|
@ -197,6 +197,8 @@ extern PropertyInfo qdev_prop_pci_devfn;
|
||||||
DEFINE_PROP(_n, _s, _f, qdev_prop_ptr, void*)
|
DEFINE_PROP(_n, _s, _f, qdev_prop_ptr, void*)
|
||||||
#define DEFINE_PROP_CHR(_n, _s, _f) \
|
#define DEFINE_PROP_CHR(_n, _s, _f) \
|
||||||
DEFINE_PROP(_n, _s, _f, qdev_prop_chr, CharDriverState*)
|
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 DEFINE_PROP_MACADDR(_n, _s, _f) \
|
||||||
DEFINE_PROP(_n, _s, _f, qdev_prop_macaddr, uint8_t[6])
|
DEFINE_PROP(_n, _s, _f, qdev_prop_macaddr, uint8_t[6])
|
||||||
|
|
||||||
|
|
|
@ -1882,8 +1882,8 @@ static const mon_cmd_t info_cmds[] = {
|
||||||
"", "show balloon information" },
|
"", "show balloon information" },
|
||||||
{ "qtree", "", do_info_qtree,
|
{ "qtree", "", do_info_qtree,
|
||||||
"", "show device tree" },
|
"", "show device tree" },
|
||||||
{ "qdrv", "", do_info_qdrv,
|
{ "qdm", "", do_info_qdm,
|
||||||
"", "show qdev driver list" },
|
"", "show qdev device model list" },
|
||||||
{ NULL, NULL, },
|
{ NULL, NULL, },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue