提交 38567e94 编写于 作者: J Jiri Denemark

docs: Clarify /domain/cpu/@match description

Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
上级 cab2c1af
...@@ -1217,8 +1217,8 @@ ...@@ -1217,8 +1217,8 @@
<dl> <dl>
<dt><code>cpu</code></dt> <dt><code>cpu</code></dt>
<dd>The <code>cpu</code> element is the main container for describing <dd>The <code>cpu</code> element is the main container for describing
guest CPU requirements. Its <code>match</code> attribute specified how guest CPU requirements. Its <code>match</code> attribute specifies how
strictly has the virtual CPU provided to the guest match these strictly the virtual CPU provided to the guest matches these
requirements. <span class="since">Since 0.7.6</span> the requirements. <span class="since">Since 0.7.6</span> the
<code>match</code> attribute can be omitted if <code>topology</code> <code>match</code> attribute can be omitted if <code>topology</code>
is the only element within <code>cpu</code>. Possible values for the is the only element within <code>cpu</code>. Possible values for the
...@@ -1227,13 +1227,21 @@ ...@@ -1227,13 +1227,21 @@
<dl> <dl>
<dt><code>minimum</code></dt> <dt><code>minimum</code></dt>
<dd>The specified CPU model and features describes the minimum <dd>The specified CPU model and features describes the minimum
requested CPU.</dd> requested CPU. A better CPU will be provided to the guest if it
is possible with the requested hypervisor on the current host.
This is a constrained <code>host-model</code> mode; the domain
will not be created if the provided virtual CPU does not meet
the requirements.</dd>
<dt><code>exact</code></dt> <dt><code>exact</code></dt>
<dd>The virtual CPU provided to the guest will exactly match the <dd>The virtual CPU provided to the guest should exactly match the
specification</dd> specification. If such CPU is not supported, libvirt will refuse
to start the domain.</dd>
<dt><code>strict</code></dt> <dt><code>strict</code></dt>
<dd>The guest will not be created unless the host CPU does exactly <dd>The domain will not be created unless the host CPU exactly
match the specification.</dd> matches the specification. This is not very useful in practice
and should only be used if there is a real reason.</dd>
</dl> </dl>
<span class="since">Since 0.8.5</span> the <code>match</code> <span class="since">Since 0.8.5</span> the <code>match</code>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册