]> git.proxmox.com Git - mirror_qemu.git/commitdiff
docs/system: move x86 CPU configuration to a separate document
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 7 Sep 2021 14:08:59 +0000 (16:08 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 13 Sep 2021 11:56:26 +0000 (13:56 +0200)
Currently, cpu-models-x86.rst.inc is included in target-i386.rst directly.
To make the toctree more homogeneous when adding more documentation,
include it through a first-class .rst file.

Together with the previous changes to the man page skeletons, this also
frees "===" for the headings, so that cpu-models-x86.rst.inc need not
assume anything about the headings used by target-i386.rst.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
docs/system/cpu-models-x86.rst.inc
docs/system/i386/cpu.rst [new file with mode: 0644]
docs/system/target-i386.rst

index 9119f5dff586e24d5b6d489dd641f56ce6d9e22d..6e8be7d79b1029c676a4ac003d859026071eb1cf 100644 (file)
@@ -1,5 +1,5 @@
 Recommendations for KVM CPU model configuration on x86 hosts
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+============================================================
 
 The information that follows provides recommendations for configuring
 CPU models on x86 hosts. The goals are to maximise performance, while
@@ -368,7 +368,7 @@ featureset, which prevents guests having optimal performance.
 
 
 Syntax for configuring CPU models
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+=================================
 
 The examples below illustrate the approach to configuring the various
 CPU models / features in QEMU and libvirt.
diff --git a/docs/system/i386/cpu.rst b/docs/system/i386/cpu.rst
new file mode 100644 (file)
index 0000000..738719d
--- /dev/null
@@ -0,0 +1 @@
+.. include:: ../cpu-models-x86.rst.inc
index 22ba5ce2c0f292f1fbeea9526bad42aca98fa51e..c9720a8cd18f224e2350b4aef8ea253472b32a06 100644 (file)
@@ -19,7 +19,13 @@ Board-specific documentation
    i386/microvm
    i386/pc
 
-.. include:: cpu-models-x86.rst.inc
+Architectural features
+~~~~~~~~~~~~~~~~~~~~~~
+
+.. toctree::
+   :maxdepth: 1
+
+   i386/cpu
 
 .. _pcsys_005freq: