提交 f335ed77 编写于 作者: J John Ferlan

formatdomain: Reformat vCPU description

Reformat the vCPU description to use list elements rather than one long
run-on paragraph
Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
上级 66eaa887
...@@ -419,37 +419,50 @@ ...@@ -419,37 +419,50 @@
<dt><code>vcpu</code></dt> <dt><code>vcpu</code></dt>
<dd>The content of this element defines the maximum number of virtual <dd>The content of this element defines the maximum number of virtual
CPUs allocated for the guest OS, which must be between 1 and CPUs allocated for the guest OS, which must be between 1 and
the maximum supported by the hypervisor. <span class="since">Since the maximum supported by the hypervisor.
0.4.4</span>, this element can contain an optional <dl>
<code>cpuset</code> attribute, which is a comma-separated <dt><code>cpuset</code></dt>
list of physical CPU numbers that domain process and virtual CPUs <dd>
can be pinned to by default. (NB: The pinning policy of domain The optional attribute <code>cpuset</code> is a comma-separated
process and virtual CPUs can be specified separately by list of physical CPU numbers that domain process and virtual CPUs
<code>cputune</code>. If attribute <code>emulatorpin</code> can be pinned to by default. (NB: The pinning policy of domain
of <code>cputune</code> is specified, <code>cpuset</code> process and virtual CPUs can be specified separately by
specified by <code>vcpu</code> here will be ignored; Similarly, <code>cputune</code>. If the attribute <code>emulatorpin</code>
For virtual CPUs which has <code>vcpupin</code> specified, of <code>cputune</code> is specified, the <code>cpuset</code>
<code>cpuset</code> specified by <code>cpuset</code> here specified by <code>vcpu</code> here will be ignored. Similarly,
will be ignored; For virtual CPUs which doesn't have for virtual CPUs which have the <code>vcpupin</code> specified,
<code>vcpupin</code> specified, it will be pinned to the physical the <code>cpuset</code> specified by <code>cpuset</code> here
CPUs specified by <code>cpuset</code> here). will be ignored. For virtual CPUs which don't have
Each element in that list is either a single CPU number, <code>vcpupin</code> specified, each will be pinned to the physical
a range of CPU numbers, or a caret followed by a CPU number to CPUs specified by <code>cpuset</code> here).
be excluded from a previous range. <span class="since">Since Each element in that list is either a single CPU number,
0.8.5</span>, the optional attribute <code>current</code> can a range of CPU numbers, or a caret followed by a CPU number to
be used to specify whether fewer than the maximum number of be excluded from a previous range.
virtual CPUs should be enabled. <span class="since">Since <span class="since">Since 0.4.4</span>
0.9.11 (QEMU and KVM only)</span>, the optional attribute </dd>
<code>placement</code> can be used to indicate the CPU placement <dt><code>current</code></dt>
mode for domain process, its value can be either "static" or <dd>
"auto", defaults to <code>placement</code> of <code>numatune</code>, The optional attribute <code>current</code> can
or "static" if <code>cpuset</code> is specified. "auto" indicates be used to specify whether fewer than the maximum number of
the domain process will be pinned to the advisory nodeset from querying virtual CPUs should be enabled.
numad, and the value of attribute <code>cpuset</code> will be ignored <span class="since">Since 0.8.5</span>
if it's specified. If both <code>cpuset</code> and <code>placement</code> </dd>
are not specified, or if <code>placement</code> is "static", but no <dt><code>placement</code></dt>
<code>cpuset</code> is specified, the domain process will be pinned to <dd>
all the available physical CPUs. The optional attribute <code>placement</code> can be used to
indicate the CPU placement mode for domain process. The value can
be either "static" or "auto", but defaults to <code>placement</code>
of <code>numatune</code> or "static" if <code>cpuset</code> is
specified. Using "auto" indicates the domain process will be pinned
to the advisory nodeset from querying numad and the value of
attribute <code>cpuset</code> will be ignored if it's specified.
If both <code>cpuset</code> and <code>placement</code> are not
specified or if <code>placement</code> is "static", but no
<code>cpuset</code> is specified, the domain process will be
pinned to all the available physical CPUs.
<span class="since">Since 0.9.11 (QEMU and KVM only)</span>
</dd>
</dl>
</dd> </dd>
</dl> </dl>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册