mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-18 10:35:20 +00:00
docs: Enhance documentation of CPU models in domain caps
Signed-off-by: Jiri Denemark <jdenemar@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
ed51d2b606
commit
d4975a98b6
@ -222,10 +222,20 @@ more details about it:
|
|||||||
``custom``
|
``custom``
|
||||||
The ``mode`` element contains a list of supported CPU models, each described
|
The ``mode`` element contains a list of supported CPU models, each described
|
||||||
by a dedicated ``model`` element. The ``usable`` attribute specifies whether
|
by a dedicated ``model`` element. The ``usable`` attribute specifies whether
|
||||||
the model can be used directly on the host. When usable='no' the
|
the model can be used directly on the host. A special value ``unknown``
|
||||||
corresponding model cannot be used without disabling some features that the
|
indicates libvirt does not have enough information to provide the usability
|
||||||
CPU of such model is expected to have. A special value ``unknown`` indicates
|
data. When ``usable='no'`` the corresponding model cannot be used without
|
||||||
libvirt does not have enough information to provide the usability data. The
|
disabling some features that the CPU of such model is expected to have. The
|
||||||
|
list of features blocking usability of a particular CPU model is returned
|
||||||
|
as disabled features in the result of ``virConnectBaselineHypervisorCPU``
|
||||||
|
API (or ``virsh hypervisor-cpu-baseline``) when called on a CPU definition
|
||||||
|
using the CPU model and no additional feature elements. Models marked as
|
||||||
|
usable (``usable='yes'``) can be safely used in domain XMLs with
|
||||||
|
``check='none'`` as the hypervisor guarantees the model can be used on the
|
||||||
|
current host and additional checks done by libvirt are redundant. In fact,
|
||||||
|
disabling libvirt checks via ``check='none'`` for such models is recommended
|
||||||
|
to avoid needless issues with starting domains when libvirt's definition of
|
||||||
|
a particular model differs from hypervisor's definition. The
|
||||||
``deprecated`` attribute reflects the hypervisor's policy on usage of this
|
``deprecated`` attribute reflects the hypervisor's policy on usage of this
|
||||||
model :since:`(since 7.1.0)`. The ``vendor`` attribute :since:`(since 8.9.0)`
|
model :since:`(since 7.1.0)`. The ``vendor`` attribute :since:`(since 8.9.0)`
|
||||||
contains the vendor of the CPU model for users who want to use CPU models
|
contains the vendor of the CPU model for users who want to use CPU models
|
||||||
|
Loading…
x
Reference in New Issue
Block a user