mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 11:51:11 +00:00
8e72c612fe
This CPU was incorrectly detected as SandyBridge before because the number of additional <feature> elements was the same for both SandyBridge and Westmere CPU models, but SandyBridge is newer (the CPU signature does not help here because it doesn't match any signature defined in cpu_map.xml). But since QEMU's version of SandyBridge CPU model contains xsaveopt which needs to be disabled, Westmere becomes the best CPU model when translating CPUID data to virCPUDef. Unfortunately, this doesn't help with translating the data we got from QEMU and the CPU model is still computed as SandyBridge in this case. Signed-off-by: Jiri Denemark <jdenemar@redhat.com> Reviewed-by: John Ferlan <jferlan@redhat.com>
15 lines
549 B
XML
15 lines
549 B
XML
<cpu mode='custom' match='exact'>
|
|
<model fallback='forbid'>SandyBridge</model>
|
|
<vendor>Intel</vendor>
|
|
<feature policy='require' name='vme'/>
|
|
<feature policy='require' name='ss'/>
|
|
<feature policy='require' name='pcid'/>
|
|
<feature policy='require' name='hypervisor'/>
|
|
<feature policy='require' name='arat'/>
|
|
<feature policy='require' name='tsc_adjust'/>
|
|
<feature policy='require' name='pdpe1gb'/>
|
|
<feature policy='disable' name='xsave'/>
|
|
<feature policy='disable' name='avx'/>
|
|
<feature policy='disable' name='xsaveopt'/>
|
|
</cpu>
|