Another HMP cleanup series to help [1] Marc-André with his 'Make HMP optional' series [2].
We could also remove "exec/hwaddr.h" by moving gpa2hva() declaration elsewhere, and "qapi/qapi-types-misc.h" by moving monitor_fdset_add_fd() out to some "monitor/fdset.h" header. [1] I expect his work to trivially rebase ;) [2] [email protected] Based-on: <[email protected]> Philippe Mathieu-Daudé (14): hexagon: Remove unnecessary 'monitor/monitor.h' header tests/unit: Include 'qemu/main-loop.h' header in test-util-sockets.c qapi/qmp-dispatch: Include 'qemu/aio-wait.h' and 'monitor/monitor.h' qapi/qmp-registry: Remove unnecessary 'monitor/monitor.h' header migration/hmp-cmds: Include 'block/block-global-state.h' header monitor: Include missing 'qemu/aio-wait.h' header monitor: Include missing 'qemu/lockable.h' header monitor: Include missing 'qemu/coroutine-core.h' header monitor: Reduce inclusion of 'qapi/qapi-emit-events.h' header monitor: Remove unnecessary 'block/block.h' header monitor/hmp: Remove unnecessary 'monitor/monitor.h' header system: Remove unnecessary 'monitor/monitor.h' header system: Move runstate-related code from cpus.c to runstate.c system/dirtylimit: Extract HMP code to dirtylimit-hmp-cmds.c include/hw/hexagon/hexagon_tlb.h | 2 +- include/monitor/hmp.h | 1 - include/monitor/monitor.h | 3 +- include/qapi/qmp-registry.h | 1 - monitor/monitor-internal.h | 1 + target/hexagon/hex_mmu.h | 3 +- migration/migration-hmp-cmds.c | 1 + monitor/fds.c | 1 + monitor/monitor.c | 2 + monitor/qmp.c | 3 +- qapi/qmp-dispatch.c | 2 + system/cpus.c | 146 ------------------------------ system/device_tree.c | 1 - system/dirtylimit-hmp-cmds.c | 74 ++++++++++++++++ system/dirtylimit.c | 60 ------------- system/physmem.c | 2 - system/runstate.c | 148 +++++++++++++++++++++++++++++++ tests/unit/test-util-sockets.c | 1 + system/meson.build | 1 + 19 files changed, 237 insertions(+), 216 deletions(-) create mode 100644 system/dirtylimit-hmp-cmds.c -- 2.53.0
