提交 07e1a18a 编写于 作者: D Daniel Henrique Barboza 提交者: Michal Privoznik

formatdomain.html.in: document the NUMA cpus auto fill feature

We're not mentioning that we're replicating QEMU behavior on purpose.
First because QEMU will one day, maybe, change the behavior and
start to refuse incomplete NUMA setups, and then our documentation
is now deprecated. Second, auto filling the CPUs in the first
cell will work regardless of QEMU changes in the future.

The idea is to encourage the user to provide a complete NUMA CPU topology,
not relying on the CPU auto fill mechanic.
Signed-off-by: NDaniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: NMichal Privoznik <mprivozn@redhat.com>
上级 6c380dea
......@@ -1829,7 +1829,16 @@
<p>
Each <code>cell</code> element specifies a NUMA cell or a NUMA node.
<code>cpus</code> specifies the CPU or range of CPUs that are
part of the node. <code>memory</code> specifies the node memory
part of the node. <span class="since">Since 6.5.0</span> For the qemu
driver, if the emulator binary supports disjointed <code>cpus</code> ranges
in each <code>cell</code>, the sum of all CPUs declared in each <code>cell</code>
will be matched with the maximum number of virtual CPUs declared in the
<code>vcpu</code> element. This is done by filling any remaining CPUs
into the first NUMA <code>cell</code>. Users are encouraged to supply a
complete NUMA topology, where the sum of the NUMA CPUs matches the maximum
virtual CPUs number declared in <code>vcpus</code>, to make the domain
consistent across qemu and libvirt versions.
<code>memory</code> specifies the node memory
in kibibytes (i.e. blocks of 1024 bytes).
<span class="since">Since 1.2.11</span> one can use an additional <a
href="#elementsMemoryAllocation"><code>unit</code></a> attribute to
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册