]> xenbits.xensource.com Git - libvirt.git/commitdiff
docs: formatdomain: Clarify CPU feature policy option "require"
authorKashyap Chamarthy <kchamart@redhat.com>
Mon, 26 Mar 2018 10:53:12 +0000 (12:53 +0200)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 2 Apr 2018 10:42:13 +0000 (06:42 -0400)
Using the 'require' value for the 'policy' attribute indicates
that the guest will have the feature so the host CPU does not
need to support it if the hypervisor can emulate it.

E.g. 'x2apic' is emulated by QEMU even if the host does not support it:

    <feature policy='require' name='x2apic'/>

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

index 08dc74b6b9c99c750f1c09c885f4ce25b18f74cc..82e7d7ce66aa0bbaf416b86128aba7ae8e280713 100644 (file)
           <dd>The virtual CPU will claim the feature is supported regardless
             of it being supported by host CPU.</dd>
           <dt><code>require</code></dt>
-          <dd>Guest creation will fail unless the feature is supported by host
-            CPU.</dd>
+          <dd>Guest creation will fail unless the feature is supported by the
+            host CPU or the hypervisor is able to emulate it.</dd>
           <dt><code>optional</code></dt>
           <dd>The feature will be supported by virtual CPU if and only if it
             is supported by host CPU.</dd>