mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
cpu: Add {Haswell,Broadwell}-noTSX CPU models
QEMU 2.3 adds these new models to cover Haswell and Broadwell CPUs with updated microcode. Luckily, they also reverted former the machine type specific changes to existing models. And since these changes were never released, we don't need to hack around them in libvirt. Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
4
tests/cputestdata/x86-Haswell-noTSX-nofallback.xml
Normal file
4
tests/cputestdata/x86-Haswell-noTSX-nofallback.xml
Normal file
@@ -0,0 +1,4 @@
|
||||
<cpu mode='custom' match='exact'>
|
||||
<model fallback='forbid'>Haswell-noTSX</model>
|
||||
<topology sockets='1' cores='2' threads='2'/>
|
||||
</cpu>
|
||||
4
tests/cputestdata/x86-Haswell-noTSX.xml
Normal file
4
tests/cputestdata/x86-Haswell-noTSX.xml
Normal file
@@ -0,0 +1,4 @@
|
||||
<cpu mode='custom' match='exact'>
|
||||
<model fallback='allow'>Haswell-noTSX</model>
|
||||
<topology sockets='1' cores='2' threads='2'/>
|
||||
</cpu>
|
||||
6
tests/cputestdata/x86-Haswell.xml
Normal file
6
tests/cputestdata/x86-Haswell.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<cpu match='exact'>
|
||||
<model fallback='allow'>Haswell</model>
|
||||
<topology sockets='1' cores='2' threads='2'/>
|
||||
<feature name='rtm' policy='disable'/>
|
||||
<feature name='hle' policy='disable'/>
|
||||
</cpu>
|
||||
4
tests/cputestdata/x86-baseline-7-result.xml
Normal file
4
tests/cputestdata/x86-baseline-7-result.xml
Normal file
@@ -0,0 +1,4 @@
|
||||
<cpu mode='custom' match='exact'>
|
||||
<model fallback='allow'>Haswell-noTSX</model>
|
||||
<vendor>Intel</vendor>
|
||||
</cpu>
|
||||
24
tests/cputestdata/x86-baseline-7.xml
Normal file
24
tests/cputestdata/x86-baseline-7.xml
Normal file
@@ -0,0 +1,24 @@
|
||||
<cpuTest>
|
||||
<cpu>
|
||||
<arch>x86_64</arch>
|
||||
<model>SandyBridge</model>
|
||||
<vendor>Intel</vendor>
|
||||
<topology sockets='1' cores='2' threads='2'/>
|
||||
<feature name='invpcid'/>
|
||||
<feature name='erms'/>
|
||||
<feature name='bmi2'/>
|
||||
<feature name='smep'/>
|
||||
<feature name='avx2'/>
|
||||
<feature name='bmi1'/>
|
||||
<feature name='fsgsbase'/>
|
||||
<feature name='movbe'/>
|
||||
<feature name='pcid'/>
|
||||
<feature name='fma'/>
|
||||
</cpu>
|
||||
<cpu>
|
||||
<arch>x86_64</arch>
|
||||
<model>Haswell-noTSX</model>
|
||||
<vendor>Intel</vendor>
|
||||
<topology sockets='1' cores='2' threads='2'/>
|
||||
</cpu>
|
||||
</cpuTest>
|
||||
4
tests/cputestdata/x86-baseline-8-result.xml
Normal file
4
tests/cputestdata/x86-baseline-8-result.xml
Normal file
@@ -0,0 +1,4 @@
|
||||
<cpu mode='custom' match='exact'>
|
||||
<model fallback='allow'>Broadwell-noTSX</model>
|
||||
<vendor>Intel</vendor>
|
||||
</cpu>
|
||||
28
tests/cputestdata/x86-baseline-8.xml
Normal file
28
tests/cputestdata/x86-baseline-8.xml
Normal file
@@ -0,0 +1,28 @@
|
||||
<cpuTest>
|
||||
<cpu>
|
||||
<arch>x86_64</arch>
|
||||
<model>SandyBridge</model>
|
||||
<vendor>Intel</vendor>
|
||||
<topology sockets='1' cores='2' threads='2'/>
|
||||
<feature name='invpcid'/>
|
||||
<feature name='erms'/>
|
||||
<feature name='bmi2'/>
|
||||
<feature name='smep'/>
|
||||
<feature name='avx2'/>
|
||||
<feature name='bmi1'/>
|
||||
<feature name='fsgsbase'/>
|
||||
<feature name='movbe'/>
|
||||
<feature name='pcid'/>
|
||||
<feature name='fma'/>
|
||||
<feature name='3dnowprefetch'/>
|
||||
<feature name='rdseed'/>
|
||||
<feature name='adx'/>
|
||||
<feature name='smap'/>
|
||||
</cpu>
|
||||
<cpu>
|
||||
<arch>x86_64</arch>
|
||||
<model>Broadwell-noTSX</model>
|
||||
<vendor>Intel</vendor>
|
||||
<topology sockets='1' cores='2' threads='2'/>
|
||||
</cpu>
|
||||
</cpuTest>
|
||||
@@ -0,0 +1,6 @@
|
||||
<cpu mode='custom' match='exact'>
|
||||
<arch>x86_64</arch>
|
||||
<model fallback='allow'>Haswell</model>
|
||||
<feature policy='disable' name='rtm'/>
|
||||
<feature policy='disable' name='hle'/>
|
||||
</cpu>
|
||||
@@ -0,0 +1,4 @@
|
||||
<cpu mode='custom' match='exact'>
|
||||
<arch>x86_64</arch>
|
||||
<model fallback='allow'>Haswell-noTSX</model>
|
||||
</cpu>
|
||||
@@ -0,0 +1,6 @@
|
||||
<cpu mode='custom' match='exact'>
|
||||
<arch>x86_64</arch>
|
||||
<model fallback='allow'>Haswell</model>
|
||||
<feature policy='disable' name='rtm'/>
|
||||
<feature policy='disable' name='hle'/>
|
||||
</cpu>
|
||||
6
tests/cputestdata/x86-host-Haswell-noTSX.xml
Normal file
6
tests/cputestdata/x86-host-Haswell-noTSX.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<cpu>
|
||||
<arch>x86_64</arch>
|
||||
<model>Haswell-noTSX</model>
|
||||
<vendor>Intel</vendor>
|
||||
<topology sockets='1' cores='2' threads='2'/>
|
||||
</cpu>
|
||||
Reference in New Issue
Block a user