1.4. Supported Guest CPU Models
Every hypervisor has its own policy for which CPU features the guest will see by default. The set of CPU features presented to the guest by the hypervisor depends on the CPU model chosen in the guest virtual machine configuration.
1.4.1. Listing the Guest CPU Models Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
To view a full list of the CPU models supported for an architecture type, run the
virsh cpu-models architecture
command. For example:
The full list of supported CPU models and features is contained in the
cpu_map.xml
file, located in /usr/share/libvirt/
:
cat /usr/share/libvirt/cpu_map.xml
# cat /usr/share/libvirt/cpu_map.xml
A guest's CPU model and features can be changed in the
<cpu>
section of the domain XML file. See Section 23.12, “CPU Models and Topology” for more information.
The host model can be configured to use a specified feature set as needed. For more information, see Section 23.12.1, “Changing the Feature Set for a Specified CPU”.