aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--monitor.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/monitor.c b/monitor.c
index f20e918fe4..daba98f372 100644
--- a/monitor.c
+++ b/monitor.c
@@ -566,11 +566,7 @@ static void monitor_qapi_event_init(void)
static int do_qmp_capabilities(Monitor *mon, const QDict *params,
QObject **ret_data)
{
- /* Will setup QMP capabilities in the future */
- if (monitor_ctrl_mode(mon)) {
- mon->qmp.command_mode = 1;
- }
-
+ mon->qmp.command_mode = 1;
return 0;
}