[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v5 7/7] hmp: Allow HMP in preconfig state again

From: Dr. David Alan Gilbert (git)
Subject: [Qemu-devel] [PATCH v5 7/7] hmp: Allow HMP in preconfig state again
Date: Wed, 20 Jun 2018 16:39:47 +0100

From: "Dr. David Alan Gilbert" <address@hidden>

Now we can cope with preconfig in HMP, reenable by reverting
commit 71dc578e116599ea73c8a2a4e693134702ec0e83.

Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Peter Xu <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
 monitor.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/monitor.c b/monitor.c
index 0c32308fb2..edf342ac95 100644
--- a/monitor.c
+++ b/monitor.c
@@ -3460,12 +3460,6 @@ static void handle_hmp_command(Monitor *mon, const char 
     trace_handle_hmp_command(mon, cmdline);
-    if (runstate_check(RUN_STATE_PRECONFIG)) {
-        monitor_printf(mon, "HMP not available in preconfig state, "
-                            "use QMP instead\n");
-        return;
-    }
     cmd = monitor_parse_command(mon, cmdline, &cmdline, mon->cmd_table);
     if (!cmd) {

reply via email to

[Prev in Thread] Current Thread [Next in Thread]