diff options
| author | Kevin Wolf <kwolf@redhat.com> | 2019-06-13 17:33:54 +0200 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2019-06-17 20:36:56 +0200 |
| commit | 5f9dba1600de5e6312ea2d86cff61a5f03c8207e (patch) | |
| tree | d2267c43bbddf9451d41bdabe96b0e90b3420e30 /monitor/monitor-internal.h | |
| parent | b8e31d6ccc40de09392766fc8a77133196ba8468 (diff) | |
| download | focaccia-qemu-5f9dba1600de5e6312ea2d86cff61a5f03c8207e.tar.gz focaccia-qemu-5f9dba1600de5e6312ea2d86cff61a5f03c8207e.zip | |
monitor: Create MonitorHMP with readline state
The ReadLineState in Monitor is only used for HMP monitors. Create MonitorHMP and move it there. Can't use container_of() in hmp_change(). Cast instead, and mark FIXME. Will be cleaned up shortly. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Message-Id: <20190613153405.24769-5-kwolf@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> [Superfluous variable in monitor_data_destroy() eliminated, whitespace tweaked in hmp_change(), commit message improved] Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'monitor/monitor-internal.h')
0 files changed, 0 insertions, 0 deletions