On Mon, Mar 12, 2018 at 02:11:10PM +0100, Igor Mammedov wrote: > Ban it for now, if someone would need it to work early, > one would have to implement checks if HMP command is valid > at preconfig state. > > Signed-off-by: Igor Mammedov <imamm...@redhat.com> > --- > v4: > * v3 was only printing error but not preventing command execution, > Fix it by returning after printing error message. > ("Dr. David Alan Gilbert" <dgilb...@redhat.com>) > --- > monitor.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/monitor.c b/monitor.c > index a4417f2..ea0ca57 100644 > --- a/monitor.c > +++ b/monitor.c > @@ -3104,6 +3104,11 @@ static void handle_hmp_command(Monitor *mon, const > char *cmdline) > > trace_handle_hmp_command(mon, cmdline); > > + if (runstate_check(RUN_STATE_PRECONFIG)) { > + monitor_printf(mon, "HMP not available in preconfig state\n"); > + return;
Not even the "cont" command? It would be useful for testing -preconfig. -- Eduardo