]> git.proxmox.com Git - mirror_qemu.git/commit - monitor/hmp-cmds.c
monitor: Create monitor-internal.h with common definitions
authorKevin Wolf <kwolf@redhat.com>
Thu, 13 Jun 2019 15:33:59 +0000 (17:33 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 17 Jun 2019 18:36:56 +0000 (20:36 +0200)
commit5bce308aaaab5b1b1a460b7f13940a132278e34c
tree879532127a883b39608377c520b2d1b73113f51b
parentf1b3ccfaa682b7b5d0043ab934660a49e33d0139
monitor: Create monitor-internal.h with common definitions

Before we can split monitor/misc.c, we need to create a header file that
contains the common definitions that will be used by multiple source
files.

For a start, add the type definitions for Monitor, MonitorHMP and
MonitorQMP and their dependencies. We'll add functions as needed when
splitting monitor/misc.c.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20190613153405.24769-10-kwolf@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
[Header guard symbol tidied up, superfluous #include dropped, FIXME in
hmp_change() resolved]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
MAINTAINERS
monitor/hmp-cmds.c
monitor/misc.c
monitor/monitor-internal.h [new file with mode: 0644]