aboutsummaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/monitor.c b/monitor.c
index 2e443bb..3bf3e68 100644
--- a/monitor.c
+++ b/monitor.c
@@ -1301,6 +1301,9 @@ static bool qmp_cmd_oob_check(Monitor *mon, QDict *req, Error **errp)
command = qdict_get_try_str(req, "execute");
if (!command) {
+ command = qdict_get_try_str(req, "exec-oob");
+ }
+ if (!command) {
error_setg(errp, "Command field 'execute' missing");
return false;
}