mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
hmp: Name HMP info handler functions hmp_info_SUBCOMMAND()
Some are called do_info_SUBCOMMAND() (old ones, usually), some hmp_info_SUBCOMMAND(), some SUBCOMMAND_info(), sometimes SUBCOMMAND pointlessly differs in spelling. Normalize to hmp_info_SUBCOMMAND(), where SUBCOMMAND is exactly the subcommand name with '-' replaced by '_'. Exceptions: * sun4m_irq_info(), sun4m_pic_info() renamed to sun4m_hmp_info_irq(), sun4m_hmp_info_pic(). * lm32_irq_info(), lm32_pic_info() renamed to lm32_hmp_info_irq(), lm32_hmp_info_pic(). Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
parent
3e5a50d64c
commit
1ce6be24df
21 changed files with 71 additions and 71 deletions
|
@ -627,7 +627,7 @@ static char *usb_get_fw_dev_path(DeviceState *qdev)
|
|||
return fw_path;
|
||||
}
|
||||
|
||||
void usb_info(Monitor *mon, const QDict *qdict)
|
||||
void hmp_info_usb(Monitor *mon, const QDict *qdict)
|
||||
{
|
||||
USBBus *bus;
|
||||
USBDevice *dev;
|
||||
|
|
|
@ -1637,7 +1637,7 @@ static void usb_host_auto_check(void *unused)
|
|||
timer_mod(usb_auto_timer, qemu_clock_get_ms(QEMU_CLOCK_REALTIME) + 2000);
|
||||
}
|
||||
|
||||
void usb_host_info(Monitor *mon, const QDict *qdict)
|
||||
void hmp_info_usbhost(Monitor *mon, const QDict *qdict)
|
||||
{
|
||||
libusb_device **devs = NULL;
|
||||
struct libusb_device_descriptor ddesc;
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#include "hw/usb.h"
|
||||
#include "monitor/monitor.h"
|
||||
|
||||
void usb_host_info(Monitor *mon, const QDict *qdict)
|
||||
void hmp_info_usbhost(Monitor *mon, const QDict *qdict)
|
||||
{
|
||||
monitor_printf(mon, "USB host devices not supported\n");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue