]> git.proxmox.com Git - mirror_qemu.git/commitdiff
docs/devel: split qom-api reference into new file
authorAlex Bennée <alex.bennee@linaro.org>
Fri, 30 Jun 2023 18:04:11 +0000 (19:04 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 3 Jul 2023 11:52:22 +0000 (12:52 +0100)
Lets try and keep the overview of the sub-system digestible by
splitting the core API stuff into a separate file. As QOM and QDEV
work together we should also try and enumerate the qdev_ functions.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230630180423.558337-27-alex.bennee@linaro.org>

docs/devel/index-api.rst
docs/devel/qdev-api.rst [new file with mode: 0644]
docs/devel/qom-api.rst [new file with mode: 0644]
docs/devel/qom.rst

index 71088217467bb1c41f9d638a03a2384e30c47471..539ad29c215e803568b1d7b0ba6766c0cc9d2b8b 100644 (file)
@@ -11,5 +11,7 @@ generated from in-code annotations to function prototypes.
    loads-stores
    memory
    modules
+   qom-api
+   qdev-api
    ui
    zoned-storage
diff --git a/docs/devel/qdev-api.rst b/docs/devel/qdev-api.rst
new file mode 100644 (file)
index 0000000..3f35eea
--- /dev/null
@@ -0,0 +1,7 @@
+.. _qdev-api:
+
+================================
+QEMU Device (qdev) API Reference
+================================
+
+.. kernel-doc:: include/hw/qdev-core.h
diff --git a/docs/devel/qom-api.rst b/docs/devel/qom-api.rst
new file mode 100644 (file)
index 0000000..ed1f17e
--- /dev/null
@@ -0,0 +1,9 @@
+.. _qom-api:
+
+=====================================
+QEMU Object Model (QOM) API Reference
+=====================================
+
+This is the complete API documentation for :ref:`qom`.
+
+.. kernel-doc:: include/qom/object.h
index 2828843058162aa97b56300bf2c47404448fbf08..c342ce18e3c999806dc9b72da5e51f2b528e7797 100644 (file)
@@ -387,4 +387,5 @@ OBJECT_DEFINE_ABSTRACT_TYPE() macro can be used instead:
 API Reference
 -------------
 
-.. kernel-doc:: include/qom/object.h
+See the :ref:`QOM API<qom-api>` and :ref:`QDEV API<qdev-api>`
+documents for the complete API description.