aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2023-05-15 17:22:44 +0100
committerMarkus Armbruster <armbru@redhat.com>2023-05-22 10:22:29 +0200
commit8a85b8ec3da7f6b5edddb4e142807785044c748e (patch)
tree39f066caab80a28bb618443d2cdb6e5161c44635
parentd56572584d9a5414c6a55c3f6b7ecce4b098926b (diff)
downloadqemu-8a85b8ec3da7f6b5edddb4e142807785044c748e.zip
qemu-8a85b8ec3da7f6b5edddb4e142807785044c748e.tar.gz
qemu-8a85b8ec3da7f6b5edddb4e142807785044c748e.tar.bz2
docs/interop/qmp-spec: Update error description for parsing errors
The description text for a parsing error has changed since the spec doc was first written; update the example in the docs. Suggested-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20230515162245.3964307-3-peter.maydell@linaro.org> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
-rw-r--r--docs/interop/qmp-spec.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/interop/qmp-spec.rst b/docs/interop/qmp-spec.rst
index 45d6c98..5633441 100644
--- a/docs/interop/qmp-spec.rst
+++ b/docs/interop/qmp-spec.rst
@@ -307,7 +307,7 @@ This section provides some examples of real QMP usage, in all of them
.. code-block:: QMP
-> { "execute": }
- <- { "error": { "class": "GenericError", "desc": "Invalid JSON syntax" } }
+ <- { "error": { "class": "GenericError", "desc": "JSON parse error, expecting value" } }
.. admonition:: Example