mirror of
https://github.com/mii443/qemu.git
synced 2025-08-30 02:49:30 +00: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:
@ -156,7 +156,7 @@ ssize_t qemu_deliver_packet_iov(NetClientState *sender,
|
||||
void *opaque);
|
||||
|
||||
void print_net_client(Monitor *mon, NetClientState *nc);
|
||||
void do_info_network(Monitor *mon, const QDict *qdict);
|
||||
void hmp_info_network(Monitor *mon, const QDict *qdict);
|
||||
|
||||
/* NIC info */
|
||||
|
||||
|
Reference in New Issue
Block a user