aboutsummaryrefslogtreecommitdiff
path: root/docs
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
parenta738a50e62303f9dfb345790ffd8d01f9e20527a (diff)
downloadqemu-f59c6de7f00e664358a9aad49248094ab1b29461.zip
qemu-f59c6de7f00e664358a9aad49248094ab1b29461.tar.gz
qemu-f59c6de7f00e664358a9aad49248094ab1b29461.tar.bz2
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')
-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 86dec84..3bf9ebe 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