summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel P. Berrangé2021-09-09 17:54:02 +0200
committerDaniel P. Berrangé2021-11-02 16:55:13 +0100
commit0e33e3d2c40f68f71d628dfe57d460f47e416e78 (patch)
tree0fb68ef0436460f6f3813ecc21a9dd14b974e039
parentmonitor: make hmp_handle_error return a boolean (diff)
downloadqemu-0e33e3d2c40f68f71d628dfe57d460f47e416e78.tar.gz
qemu-0e33e3d2c40f68f71d628dfe57d460f47e416e78.tar.xz
qemu-0e33e3d2c40f68f71d628dfe57d460f47e416e78.zip
docs/devel: rename file for writing monitor commands
The file already covers writing HMP commands, in addition to the QMP commands, so it deserves a more general name. Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
-rw-r--r--docs/devel/index.rst2
-rw-r--r--docs/devel/writing-monitor-commands.rst (renamed from docs/devel/writing-qmp-commands.rst)6
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/devel/index.rst b/docs/devel/index.rst
index f95df10b3e..7c25177c5d 100644
--- a/docs/devel/index.rst
+++ b/docs/devel/index.rst
@@ -44,4 +44,4 @@ modifying QEMU's source code.
ebpf_rss
vfio-migration
qapi-code-gen
- writing-qmp-commands
+ writing-monitor-commands
diff --git a/docs/devel/writing-qmp-commands.rst b/docs/devel/writing-monitor-commands.rst
index 6a10a06c48..4a4c051624 100644
--- a/docs/devel/writing-qmp-commands.rst
+++ b/docs/devel/writing-monitor-commands.rst
@@ -1,8 +1,8 @@
-How to write QMP commands using the QAPI framework
-==================================================
+How to write monitor commands
+=============================
This document is a step-by-step guide on how to write new QMP commands using
-the QAPI framework. It also shows how to implement new style HMP commands.
+the QAPI framework and HMP commands.
This document doesn't discuss QMP protocol level details, nor does it dive
into the QAPI framework implementation.