On 3/20/26 9:08 AM, Philippe Mathieu-Daudé wrote:
Many files include "monitor/hmp.h", but few of them really need
the completion declarations: move them to a distinct header.
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
---
MAINTAINERS | 1 +
include/monitor/hmp-completion.h | 40 ++++++++++++++++++++++++++++++++
include/monitor/hmp.h | 21 -----------------
chardev/char-hmp-cmds.c | 1 +
migration/migration-hmp-cmds.c | 1 +
monitor/hmp-target.c | 1 +
net/net-hmp-cmds.c | 1 +
qom/qom-hmp-cmds.c | 1 +
system/qdev-monitor.c | 1 +
system/runstate-hmp-cmds.c | 1 +
trace/trace-hmp-cmds.c | 1 +
ui/ui-hmp-cmds.c | 1 +
12 files changed, 50 insertions(+), 21 deletions(-)
create mode 100644 include/monitor/hmp-completion.h
Reviewed-by: Pierrick Bouvier <[email protected]>