[libvirt] [PATCH] docs: formatdomain: Clarify CPU feature policy option "require"

Kashyap Chamarthy kchamart at redhat.com
Sat Mar 31 12:46:22 UTC 2018


On Fri, Mar 30, 2018 at 08:50:15AM -0400, John Ferlan wrote:

[...]

> So if I change to:
> 
> 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'/>
> 
> 
> I think that covers it.

Excelleent, that phrasing covers it; thanks, John!

    * * *

PS: A project for later: We should restructure the 'formatdomain.html' a
bit more, so that *infuriatingly* large paragraphs (e.g. look at the
"host-model" paragraph here[*]) that obstructs readability.  I will
propose a different email when I gather the energy for it.


[*] https://libvirt.org/formatdomain.html#elementsCPU -- you have to scroll
    down to see the "host-model" description (this "lack of ability to
    linking to the specific XML element description should also be
    fixed.)

-- 
/kashyap




More information about the libvir-list mailing list