diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2023-05-15 17:22:43 +0100 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2023-05-22 10:21:01 +0200 |
| commit | d56572584d9a5414c6a55c3f6b7ecce4b098926b (patch) | |
| tree | 95714599acc2811df158237c26efedfa9ef69395 /python/qemu/qmp/qmp_client.py | |
| parent | 290e48e8f1ec975c100520fb697b0ae7300d0fb3 (diff) | |
| download | focaccia-qemu-d56572584d9a5414c6a55c3f6b7ecce4b098926b.tar.gz focaccia-qemu-d56572584d9a5414c6a55c3f6b7ecce4b098926b.zip | |
docs/interop: Convert qmp-spec.txt to rST
Convert the qmp-spec.txt document to restructuredText. Notable points about the conversion: * numbers at the start of section headings are removed, to match the style of the rest of the manual * cross-references to other sections or documents are hyperlinked * various formatting tweaks (notably the examples, which need the -> and <- prefixed so the QMP code-block lexer will accept them) * English prose fixed in a few places Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20230515162245.3964307-2-peter.maydell@linaro.org> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com> [.. code-block:: dumbed down to :: to work around CI failure]
Diffstat (limited to 'python/qemu/qmp/qmp_client.py')
| -rw-r--r-- | python/qemu/qmp/qmp_client.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/qemu/qmp/qmp_client.py b/python/qemu/qmp/qmp_client.py index 9d73ae6e7a..2a817f9db3 100644 --- a/python/qemu/qmp/qmp_client.py +++ b/python/qemu/qmp/qmp_client.py @@ -369,7 +369,7 @@ class QMPClient(AsyncProtocol[Message], Events): # This is very likely a server parsing error. # It doesn't inherently belong to any pending execution. # Instead of performing clever recovery, just terminate. - # See "NOTE" in qmp-spec.txt, section 2.4.2 + # See "NOTE" in qmp-spec.rst, section "Error". raise ServerParseError( ("Server sent an error response without an ID, " "but there are no ID-less executions pending. " @@ -377,7 +377,7 @@ class QMPClient(AsyncProtocol[Message], Events): msg ) - # qmp-spec.txt, section 2.4: + # qmp-spec.rst, section "Commands Responses": # 'Clients should drop all the responses # that have an unknown "id" field.' self.logger.log( |