2011-08-18 10:14:36 +00:00
|
|
|
<cpu mode='custom' match='exact'>
|
2011-12-21 13:27:16 +00:00
|
|
|
<model fallback='allow'>486</model>
|
2024-01-05 17:20:14 +00:00
|
|
|
<topology sockets='2' dies='1' clusters='1' cores='4' threads='1'/>
|
2024-02-01 21:03:49 +00:00
|
|
|
<feature policy='require' name='pni'/>
|
|
|
|
<feature policy='force' name='monitor'/>
|
|
|
|
<feature policy='require' name='ssse3'/>
|
|
|
|
<feature policy='require' name='cx16'/>
|
|
|
|
<feature policy='require' name='xtpr'/>
|
|
|
|
<feature policy='require' name='dca'/>
|
|
|
|
<feature policy='require' name='sse4.1'/>
|
2010-10-07 14:35:17 +00:00
|
|
|
<feature policy='require' name='de'/>
|
2016-05-17 13:15:40 +00:00
|
|
|
<feature policy='require' name='tsc'/>
|
|
|
|
<feature policy='require' name='msr'/>
|
|
|
|
<feature policy='require' name='pae'/>
|
|
|
|
<feature policy='require' name='mce'/>
|
|
|
|
<feature policy='require' name='cx8'/>
|
|
|
|
<feature policy='require' name='apic'/>
|
|
|
|
<feature policy='require' name='sep'/>
|
|
|
|
<feature policy='require' name='mtrr'/>
|
|
|
|
<feature policy='require' name='pge'/>
|
|
|
|
<feature policy='require' name='mca'/>
|
|
|
|
<feature policy='require' name='cmov'/>
|
|
|
|
<feature policy='require' name='pat'/>
|
|
|
|
<feature policy='require' name='pse36'/>
|
|
|
|
<feature policy='require' name='clflush'/>
|
|
|
|
<feature policy='require' name='mmx'/>
|
|
|
|
<feature policy='require' name='fxsr'/>
|
|
|
|
<feature policy='require' name='sse2'/>
|
cputest: Don't test cpuGuestData
The API is no longer used anywhere else since it was replaced by a much
saner work flow utilizing new APIs that work on virCPUDefPtr directly:
virCPUCompare, virCPUUpdate, and virCPUTranslate.
Not testing the new work flow caused some bugs to be hidden. This patch
reveals them, but doesn't attempt to fix them. To make sure all test
still pass after this patch, all affected test results are modified to
pretend the tests succeeded. All of the bugs will be fixed in the
following commits and the artificial modifications will be reverted.
The following is the list of bugs in the new CPU model work flow:
- a guest CPU with mode='custom' and missing <vendor/> gets the vendor
copied from host's CPU (the vendor should only be copied to host-model
CPUs):
DO_TEST_UPDATE("x86", "host", "min", VIR_CPU_COMPARE_IDENTICAL)
DO_TEST_UPDATE("x86", "host", "pentium3", VIR_CPU_COMPARE_IDENTICAL)
DO_TEST_GUESTCPU("x86", "host-better", "pentium3", NULL, 0)
- when a guest CPU with mode='custom' needs to be translated into
another model because the original model is not supported by a
hypervisor, the result will have its vendor set to the vendor of the
original CPU model as specified in cpu_map.xml even if the original
guest CPU XML didn't contain <vendor/>:
DO_TEST_GUESTCPU("x86", "host", "guest", model486, 0)
DO_TEST_GUESTCPU("x86", "host", "guest", models, 0)
DO_TEST_GUESTCPU("x86", "host-Haswell-noTSX", "Haswell-noTSX",
haswell, 0)
- legacy POWERx_v* model names are not recognized:
DO_TEST_GUESTCPU("ppc64", "host", "guest-legacy", ppc_models, 0)
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
2016-11-10 08:41:17 +00:00
|
|
|
<feature policy='force' name='pbe'/>
|
2024-02-01 21:03:49 +00:00
|
|
|
<feature policy='require' name='lahf_lm'/>
|
|
|
|
<feature policy='force' name='svm'/>
|
2016-05-17 13:15:40 +00:00
|
|
|
<feature policy='require' name='syscall'/>
|
|
|
|
<feature policy='require' name='nx'/>
|
|
|
|
<feature policy='require' name='lm'/>
|
cputest: Don't test cpuGuestData
The API is no longer used anywhere else since it was replaced by a much
saner work flow utilizing new APIs that work on virCPUDefPtr directly:
virCPUCompare, virCPUUpdate, and virCPUTranslate.
Not testing the new work flow caused some bugs to be hidden. This patch
reveals them, but doesn't attempt to fix them. To make sure all test
still pass after this patch, all affected test results are modified to
pretend the tests succeeded. All of the bugs will be fixed in the
following commits and the artificial modifications will be reverted.
The following is the list of bugs in the new CPU model work flow:
- a guest CPU with mode='custom' and missing <vendor/> gets the vendor
copied from host's CPU (the vendor should only be copied to host-model
CPUs):
DO_TEST_UPDATE("x86", "host", "min", VIR_CPU_COMPARE_IDENTICAL)
DO_TEST_UPDATE("x86", "host", "pentium3", VIR_CPU_COMPARE_IDENTICAL)
DO_TEST_GUESTCPU("x86", "host-better", "pentium3", NULL, 0)
- when a guest CPU with mode='custom' needs to be translated into
another model because the original model is not supported by a
hypervisor, the result will have its vendor set to the vendor of the
original CPU model as specified in cpu_map.xml even if the original
guest CPU XML didn't contain <vendor/>:
DO_TEST_GUESTCPU("x86", "host", "guest", model486, 0)
DO_TEST_GUESTCPU("x86", "host", "guest", models, 0)
DO_TEST_GUESTCPU("x86", "host-Haswell-noTSX", "Haswell-noTSX",
haswell, 0)
- legacy POWERx_v* model names are not recognized:
DO_TEST_GUESTCPU("ppc64", "host", "guest-legacy", ppc_models, 0)
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
2016-11-10 08:41:17 +00:00
|
|
|
<feature policy='force' name='3dnowext'/>
|
2010-10-07 14:35:17 +00:00
|
|
|
<feature policy='disable' name='vme'/>
|
cputest: Don't test cpuGuestData
The API is no longer used anywhere else since it was replaced by a much
saner work flow utilizing new APIs that work on virCPUDefPtr directly:
virCPUCompare, virCPUUpdate, and virCPUTranslate.
Not testing the new work flow caused some bugs to be hidden. This patch
reveals them, but doesn't attempt to fix them. To make sure all test
still pass after this patch, all affected test results are modified to
pretend the tests succeeded. All of the bugs will be fixed in the
following commits and the artificial modifications will be reverted.
The following is the list of bugs in the new CPU model work flow:
- a guest CPU with mode='custom' and missing <vendor/> gets the vendor
copied from host's CPU (the vendor should only be copied to host-model
CPUs):
DO_TEST_UPDATE("x86", "host", "min", VIR_CPU_COMPARE_IDENTICAL)
DO_TEST_UPDATE("x86", "host", "pentium3", VIR_CPU_COMPARE_IDENTICAL)
DO_TEST_GUESTCPU("x86", "host-better", "pentium3", NULL, 0)
- when a guest CPU with mode='custom' needs to be translated into
another model because the original model is not supported by a
hypervisor, the result will have its vendor set to the vendor of the
original CPU model as specified in cpu_map.xml even if the original
guest CPU XML didn't contain <vendor/>:
DO_TEST_GUESTCPU("x86", "host", "guest", model486, 0)
DO_TEST_GUESTCPU("x86", "host", "guest", models, 0)
DO_TEST_GUESTCPU("x86", "host-Haswell-noTSX", "Haswell-noTSX",
haswell, 0)
- legacy POWERx_v* model names are not recognized:
DO_TEST_GUESTCPU("ppc64", "host", "guest-legacy", ppc_models, 0)
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
2016-11-10 08:41:17 +00:00
|
|
|
<feature policy='disable' name='sse4.2'/>
|
|
|
|
<feature policy='disable' name='3dnow'/>
|
|
|
|
<feature policy='disable' name='vmx'/>
|
|
|
|
<feature policy='disable' name='ds_cpl'/>
|
|
|
|
<feature policy='disable' name='sse'/>
|
|
|
|
<feature policy='forbid' name='popcnt'/>
|
2010-10-07 14:35:17 +00:00
|
|
|
</cpu>
|