When I can't guess a handler's name, I have to look it up in hmp-commands.hx. Happens often enough to annoy me. Let's make them more predictable.
Touches several subsystems because HMP command handlers are still spread far and wide, but the changes are trivial. Speak up if you want your subsystem's part routed through your tree rather than -trivial. Cc: Kevin Wolf <kw...@redhat.com> Cc: Stefan Hajnoczi <stefa...@redhat.com> Cc: Michael Walle <mich...@walle.cc> Cc: "Michael S. Tsirkin" <m...@redhat.com> Cc: Gerd Hoffmann <kra...@redhat.com> Cc: Jason Wang <jasow...@redhat.com> Markus Armbruster (3): hmp: Clean up declarations for long-gone info handlers hmp: Name HMP command handler functions hmp_COMMAND() hmp: Name HMP info handler functions hmp_info_SUBCOMMAND() block/block-backend.c | 6 +- blockdev.c | 6 +- device-hotplug.c | 2 +- hmp-commands.hx | 86 +++++++++++++------------- hmp.c | 6 +- hmp.h | 6 +- hw/core/loader.c | 2 +- hw/intc/i8259.c | 4 +- hw/intc/lm32_pic.c | 4 +- hw/pci/pci-hotplug-old.c | 4 +- hw/pci/pci-stub.c | 2 +- hw/pci/pcie_aer.c | 2 +- hw/sparc/sun4m.c | 4 +- hw/usb/bus.c | 2 +- hw/usb/host-libusb.c | 2 +- hw/usb/host-stub.c | 2 +- include/hw/i386/pc.h | 4 +- include/hw/lm32/lm32_pic.h | 4 +- include/hw/loader.h | 2 +- include/hw/sparc/sun4m.h | 4 +- include/hw/usb.h | 2 +- include/migration/migration.h | 4 -- include/monitor/qdev.h | 4 +- include/net/net.h | 6 +- include/net/slirp.h | 6 +- include/sysemu/block-backend.h | 2 +- include/sysemu/blockdev.h | 4 +- include/sysemu/sysemu.h | 23 +++---- include/ui/console.h | 2 +- include/ui/qemu-spice.h | 3 - monitor.c | 134 ++++++++++++++++++++--------------------- net/net.c | 6 +- net/slirp.c | 6 +- qdev-monitor.c | 4 +- savevm.c | 6 +- ui/input.c | 2 +- vl.c | 4 +- 37 files changed, 181 insertions(+), 191 deletions(-) -- 1.9.3