mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
monitor: Split out monitor/hmp.c
Move HMP infrastructure from monitor/misc.c to monitor/hmp.c. This is code that can be shared for all targets, so compile it only once. The amount of function and particularly extern variables in monitor_int.h is probably a bit larger than it needs to be, but this way no non-trivial code modifications are needed. The interfaces between HMP and the monitor core can be cleaned up later. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-Id: <20190613153405.24769-12-kwolf@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> [Comment reformatted to make checkpatch.pl happy, #include <dirent.h> moved to fix Windows build, superfluous #include dropped] Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
parent
7e3c0deab1
commit
ed7bda5d07
5 changed files with 1443 additions and 1352 deletions
|
@ -1,10 +1,12 @@
|
|||
# See docs/devel/tracing.txt for syntax documentation.
|
||||
|
||||
# hmp.c
|
||||
handle_hmp_command(void *mon, const char *cmdline) "mon %p cmdline: %s"
|
||||
|
||||
# misc.c
|
||||
monitor_protocol_event_handler(uint32_t event, void *qdict) "event=%d data=%p"
|
||||
monitor_protocol_event_emit(uint32_t event, void *data) "event=%d data=%p"
|
||||
monitor_protocol_event_queue(uint32_t event, void *qdict, uint64_t rate) "event=%d data=%p rate=%" PRId64
|
||||
handle_hmp_command(void *mon, const char *cmdline) "mon %p cmdline: %s"
|
||||
monitor_suspend(void *ptr, int cnt) "mon %p: %d"
|
||||
|
||||
# qmp.c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue