aboutsummaryrefslogtreecommitdiff
path: root/docs/interop/qmp-spec.txt
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2021-01-27 15:47:34 +0100
committerMarkus Armbruster <armbru@redhat.com>2021-02-04 13:20:29 +0100
commit781386afd2b809a8a63b65e9bfb645c4a8abdf50 (patch)
tree901c6f981124f033b26251f358bb870e0e6b465d /docs/interop/qmp-spec.txt
parent1841f0112c4d8a0a561462eed25fc4357fe40afc (diff)
docs/interop/qmp-spec: Document the request queue limit
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20210127144734.2367693-1-armbru@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'docs/interop/qmp-spec.txt')
-rw-r--r--docs/interop/qmp-spec.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/interop/qmp-spec.txt b/docs/interop/qmp-spec.txt
index cdf5842555..b0e8351d5b 100644
--- a/docs/interop/qmp-spec.txt
+++ b/docs/interop/qmp-spec.txt
@@ -133,9 +133,11 @@ to pass "id" with out-of-band commands. Passing it with all commands
is recommended for clients that accept capability "oob".
If the client sends in-band commands faster than the server can
-execute them, the server will stop reading the requests from the QMP
-channel until the request queue length is reduced to an acceptable
-range.
+execute them, the server will stop reading requests until the request
+queue length is reduced to an acceptable range.
+
+To ensure commands to be executed out-of-band get read and executed,
+the client should have at most eight in-band commands in flight.
Only a few commands support out-of-band execution. The ones that do
have "allow-oob": true in output of query-qmp-schema.