aboutsummaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dgilbert@redhat.com>2018-06-20 16:39:47 +0100
committerDr. David Alan Gilbert <dgilbert@redhat.com>2018-06-21 13:18:11 +0100
commit13163a93b729b9ec4b49501d03d3f50af4b05758 (patch)
tree478477ba5a62ebba32e190cc82c9155ccc8fe7f1 /monitor.c
parent8e8581e6b1b77e878520a2334f8e74b1001f1578 (diff)
downloadqemu-13163a93b729b9ec4b49501d03d3f50af4b05758.zip
qemu-13163a93b729b9ec4b49501d03d3f50af4b05758.tar.gz
qemu-13163a93b729b9ec4b49501d03d3f50af4b05758.tar.bz2
hmp: Allow HMP in preconfig state again
Now we can cope with preconfig in HMP, reenable by reverting commit 71dc578e116599ea73c8a2a4e693134702ec0e83. Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <20180620153947.30834-8-dgilbert@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/monitor.c b/monitor.c
index 068c094..0730a27 100644
--- a/monitor.c
+++ b/monitor.c
@@ -3461,12 +3461,6 @@ 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, "
- "use QMP instead\n");
- return;
- }
-
cmd = monitor_parse_command(mon, cmdline, &cmdline, mon->cmd_table);
if (!cmd) {
return;