]> xenbits.xensource.com Git - libvirt.git/commitdiff
docs: formatdomain: Document the CPU feature 'name' attribute
authorKashyap Chamarthy <kchamart@redhat.com>
Thu, 25 Jan 2018 09:09:01 +0000 (10:09 +0100)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 29 Jan 2018 16:35:49 +0000 (11:35 -0500)
Currently, the CPU feature 'name' XML attribute, as in:

    [...]
    <cpu match='exact'>
      <model fallback='forbid'>IvyBridge</model>
      <vendor>Intel</vendor>
      <feature policy='require' name='pcid'/>
    </cpu>
    [...]

isn't explicitly documented in formatdomain.html.

Document it now.

Signed-off-by: Kashyap Chamarthy <kchamart@redhat.com>
docs/formatdomain.html.in

index f1fb8e59cc4ff749552d892a816417c248e4389d..3ec1173c6fafbf1b676199e3538d541076922627 100644 (file)
 
         <span class="since">Since 0.8.5</span> the <code>policy</code>
         attribute can be omitted and will default to <code>require</code>.
+
+        <p> Individual CPU feature names are specified as part of the
+        <code>name</code> attribute. For example, to explicitly specify
+        the 'pcid' feature with Intel IvyBridge CPU model:
+        </p>
+
+<pre>
+...
+&lt;cpu match='exact'&gt;
+  &lt;model fallback='forbid'&gt;IvyBridge&lt;/model&gt;
+  &lt;vendor&gt;Intel&lt;/vendor&gt;
+  &lt;feature policy='require' name='pcid'/&gt;
+&lt;/cpu&gt;
+...</pre>
+
       </dd>
 
       <dt><code>cache</code></dt>