aboutsummaryrefslogtreecommitdiff
path: root/docs/devel
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2021-09-09 16:56:53 +0100
committerDaniel P. Berrangé <berrange@redhat.com>2021-11-02 15:55:13 +0000
commitfa2613afa1ebe50c59606f1c30ad6738fe6919a5 (patch)
treed69b2dc456b46e7c546ae8f46994a7eee03a79d6 /docs/devel
parent0e33e3d2c40f68f71d628dfe57d460f47e416e78 (diff)
downloadqemu-fa2613afa1ebe50c59606f1c30ad6738fe6919a5.zip
qemu-fa2613afa1ebe50c59606f1c30ad6738fe6919a5.tar.gz
qemu-fa2613afa1ebe50c59606f1c30ad6738fe6919a5.tar.bz2
docs/devel: tweak headings in monitor command docs
The new headings reflect the intended structure of the document and will better suit additions that follow. Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'docs/devel')
-rw-r--r--docs/devel/writing-monitor-commands.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/devel/writing-monitor-commands.rst b/docs/devel/writing-monitor-commands.rst
index 4a4c051..a973c48 100644
--- a/docs/devel/writing-monitor-commands.rst
+++ b/docs/devel/writing-monitor-commands.rst
@@ -85,8 +85,8 @@ any data". Now you're ready to enter the QMP example commands as explained in
the following sections.
-Writing a command that doesn't return data
-------------------------------------------
+Writing a simple command: hello-world
+-------------------------------------
That's the most simple QMP command that can be written. Usually, this kind of
command carries some meaningful action in QEMU but here it will just print
@@ -340,8 +340,8 @@ Please, check the "-monitor" command-line option to know how to open a user
monitor.
-Writing a command that returns data
------------------------------------
+Writing more complex commands
+-----------------------------
A QMP command is capable of returning any data the QAPI supports like integers,
strings, booleans, enumerations and user defined types.