Re: [Qemu-devel] [RFC PATCH 05/10] monitor: Move cmd_table to MonitorHMP

2019-06-07 Thread Dr. David Alan Gilbert
* Kevin Wolf (kw...@redhat.com) wrote: > Monitor.cmd_table contains the handlers for HMP commands, so there is no > reason to keep it in the state shared with QMP. Move it to MonitorHMP. > > Signed-off-by: Kevin Wolf Reviewed-by: Dr. David Alan Gilbert > --- > monitor.c | 23 +++--

[Qemu-devel] [RFC PATCH 05/10] monitor: Move cmd_table to MonitorHMP

2019-06-07 Thread Kevin Wolf
Monitor.cmd_table contains the handlers for HMP commands, so there is no reason to keep it in the state shared with QMP. Move it to MonitorHMP. Signed-off-by: Kevin Wolf --- monitor.c | 23 +++ 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/monitor.c b/monitor