diff options
author | Kevin Wolf <kwolf@redhat.com> | 2019-06-13 17:34:01 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2019-06-18 08:13:13 +0200 |
commit | ed7bda5d07b655a4056fc579d06150f95dbe8738 (patch) | |
tree | 945d53b7766304ac607464454f6ac70798358f4f /monitor/Makefile.objs | |
parent | 7e3c0deab1b76f37ac0b3199324db976a6cd1b2c (diff) |
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>
Diffstat (limited to 'monitor/Makefile.objs')
-rw-r--r-- | monitor/Makefile.objs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor/Makefile.objs b/monitor/Makefile.objs index 1037c09ff8..bea8838acc 100644 --- a/monitor/Makefile.objs +++ b/monitor/Makefile.objs @@ -1,3 +1,3 @@ obj-y += misc.o -common-obj-y += qmp.o +common-obj-y += qmp.o hmp.o common-obj-y += qmp-cmds.o hmp-cmds.o |