Re: [Qemu-block] [RFC PATCH 04/10] monitor: Create MonitorHMP with readline state

2019-06-07 Thread Dr. David Alan Gilbert
* Kevin Wolf (kw...@redhat.com) wrote: > The ReadLineState in Monitor is only used for HMP monitors. Create > MonitorHMP and move it there. > > Signed-off-by: Kevin Wolf Reviewed-by: Dr. David Alan Gilbert > --- > include/monitor/monitor.h | 5 +- > hmp.c | 4 +- >

[Qemu-block] [RFC PATCH 04/10] monitor: Create MonitorHMP with readline state

2019-06-07 Thread Kevin Wolf
The ReadLineState in Monitor is only used for HMP monitors. Create MonitorHMP and move it there. Signed-off-by: Kevin Wolf --- include/monitor/monitor.h | 5 +- hmp.c | 4 +- monitor.c | 123 +- 3 files changed, 75