]> git.proxmox.com Git - mirror_qemu.git/commit - monitor.c
hmp: Name HMP info handler functions hmp_info_SUBCOMMAND()
authorMarkus Armbruster <armbru@redhat.com>
Fri, 6 Feb 2015 13:18:24 +0000 (14:18 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 18 Feb 2015 10:58:50 +0000 (11:58 +0100)
commit1ce6be24df0a2f634b61b9b882ac6d10af485ad6
tree9fe55b653ce5794397e83844115fa8d5cef891db
parent3e5a50d64ca9c323f8099fdf1aef02813598882d
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>
21 files changed:
hw/core/loader.c
hw/intc/i8259.c
hw/intc/lm32_pic.c
hw/sparc/sun4m.c
hw/usb/bus.c
hw/usb/host-libusb.c
hw/usb/host-stub.c
include/hw/i386/pc.h
include/hw/lm32/lm32_pic.h
include/hw/loader.h
include/hw/sparc/sun4m.h
include/hw/usb.h
include/monitor/qdev.h
include/net/net.h
include/net/slirp.h
include/sysemu/sysemu.h
monitor.c
net/net.c
net/slirp.c
qdev-monitor.c
savevm.c