diff options
author | Markus Armbruster <armbru@redhat.com> | 2015-02-06 14:18:24 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2015-02-18 11:58:50 +0100 |
commit | 1ce6be24df0a2f634b61b9b882ac6d10af485ad6 (patch) | |
tree | 9fe55b653ce5794397e83844115fa8d5cef891db /include/net | |
parent | 3e5a50d64ca9c323f8099fdf1aef02813598882d (diff) | |
download | qemu-1ce6be24df0a2f634b61b9b882ac6d10af485ad6.zip qemu-1ce6be24df0a2f634b61b9b882ac6d10af485ad6.tar.gz qemu-1ce6be24df0a2f634b61b9b882ac6d10af485ad6.tar.bz2 |
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>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/net.h | 2 | ||||
-rw-r--r-- | include/net/slirp.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/net/net.h b/include/net/net.h index ac43a8e..50ffcb9 100644 --- a/include/net/net.h +++ b/include/net/net.h @@ -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 */ diff --git a/include/net/slirp.h b/include/net/slirp.h index d3b64f6..64b795c 100644 --- a/include/net/slirp.h +++ b/include/net/slirp.h @@ -40,7 +40,7 @@ int net_slirp_parse_legacy(QemuOptsList *opts_list, const char *optarg, int *ret int net_slirp_smb(const char *exported_dir); -void do_info_usernet(Monitor *mon, const QDict *qdict); +void hmp_info_usernet(Monitor *mon, const QDict *qdict); #endif |