mirror of
https://github.com/mii443/qemu.git
synced 2025-12-12 05:18:37 +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:
@@ -681,7 +681,7 @@ static int slirp_guestfwd(SlirpState *s, const char *config_str,
|
||||
return -1;
|
||||
}
|
||||
|
||||
void do_info_usernet(Monitor *mon, const QDict *qdict)
|
||||
void hmp_info_usernet(Monitor *mon, const QDict *qdict)
|
||||
{
|
||||
SlirpState *s;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user