qemu-e2k/monitor
Kevin Wolf 1d95db745b monitor: Split out monitor/monitor.c
Move the monitor core infrastructure from monitor/misc.c to
monitor/monitor.c. This is code that can be shared for all targets, so
compile it only once.

What remains in monitor/misc.c after this patch is mostly monitor
command implementations (which could move to hmp-cmds.c or qmp-cmds.c
later) and code that requires a system emulator or is even
target-dependent (including HMP command completion code).

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 all
monitor parts can be cleaned up later.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20190613153405.24769-13-kwolf@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
[Superfluous #include dropped]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2019-06-18 08:14:17 +02:00
..
Makefile.objs monitor: Split out monitor/monitor.c 2019-06-18 08:14:17 +02:00
hmp-cmds.c monitor: Create monitor-internal.h with common definitions 2019-06-17 20:36:56 +02:00
hmp.c monitor: Split out monitor/hmp.c 2019-06-18 08:13:13 +02:00
misc.c monitor: Split out monitor/monitor.c 2019-06-18 08:14:17 +02:00
monitor-internal.h monitor: Split out monitor/monitor.c 2019-06-18 08:14:17 +02:00
monitor.c monitor: Split out monitor/monitor.c 2019-06-18 08:14:17 +02:00
qmp-cmds.c monitor: Move {hmp, qmp}.c to monitor/{hmp, qmp}-cmds.c 2019-06-17 20:36:56 +02:00
qmp.c monitor: Split out monitor/qmp.c 2019-06-17 20:36:56 +02:00
trace-events monitor: Split out monitor/monitor.c 2019-06-18 08:14:17 +02:00