summaryrefslogtreecommitdiff
path: root/docs/devel
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2020-10-05 16:52:27 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2020-10-12 11:50:22 -0400
commitf59c6de7f00e664358a9aad49248094ab1b29461 (patch)
treeb1707c305ca3c1b58a6504472a21a4f6c6dd9992 /docs/devel
parenta738a50e62303f9dfb345790ffd8d01f9e20527a (diff)
downloadqemu-f59c6de7f00e664358a9aad49248094ab1b29461.zip
docs/devel/qtest: Include protocol spec in document
Include the QTest Protocol doc string in docs/devel/qtest.rst, after converting it to use Sphinx syntax. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Acked-by: Thomas Huth <thuth@redhat.com> Message-Id: <20201005205228.697463-3-ehabkost@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'docs/devel')
-rw-r--r--docs/devel/qtest.rst12
1 files changed, 10 insertions, 2 deletions
diff --git a/docs/devel/qtest.rst b/docs/devel/qtest.rst
index 86dec84a0b..3bf9ebee7f 100644
--- a/docs/devel/qtest.rst
+++ b/docs/devel/qtest.rst
@@ -4,8 +4,8 @@ QTest Device Emulation Testing Framework
QTest is a device emulation testing framework. It can be very useful to test
device models; it could also control certain aspects of QEMU (such as virtual
-clock stepping), with a special purpose "qtest" protocol. Refer to the
-documentation in ``qtest.c`` for more details of the protocol.
+clock stepping), with a special purpose "qtest" protocol. Refer to
+:ref:`qtest-protocol` for more details of the protocol.
QTest cases can be executed with
@@ -56,3 +56,11 @@ from the output of
which you can run manually.
+
+.. _qtest-protocol:
+
+QTest Protocol
+--------------
+
+.. kernel-doc:: softmmu/qtest.c
+ :doc: QTest Protocol