mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
cputestdata: Add test data for Snowridge
It's obvious the CPU model detection provides strange results, which will be fixed by adding a new Snowridge CPU model few patches later. Signed-off-by: Tim Wiederhake <twiederh@redhat.com> Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
parent
ea0cfa1153
commit
59a585fdb0
@ -1221,6 +1221,7 @@ mymain(void)
|
||||
DO_TEST_CPUID(VIR_ARCH_X86_64, "A10-5800K", JSON_HOST);
|
||||
DO_TEST_CPUID(VIR_ARCH_X86_64, "Atom-D510", JSON_NONE);
|
||||
DO_TEST_CPUID(VIR_ARCH_X86_64, "Atom-N450", JSON_NONE);
|
||||
DO_TEST_CPUID(VIR_ARCH_X86_64, "Atom-P5362", JSON_MODELS_REQUIRED);
|
||||
DO_TEST_CPUID(VIR_ARCH_X86_64, "Core-i5-650", JSON_MODELS_REQUIRED);
|
||||
DO_TEST_CPUID(VIR_ARCH_X86_64, "Core-i5-2500", JSON_HOST);
|
||||
DO_TEST_CPUID(VIR_ARCH_X86_64, "Core-i5-2540M", JSON_MODELS);
|
||||
|
8
tests/cputestdata/x86_64-cpuid-Atom-P5362-disabled.xml
Normal file
8
tests/cputestdata/x86_64-cpuid-Atom-P5362-disabled.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<!-- Features disabled by QEMU -->
|
||||
<cpudata arch='x86'>
|
||||
<cpuid eax_in='0x00000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x080041dc' edx='0xb0600000'/>
|
||||
<cpuid eax_in='0x00000007' ecx_in='0x00' eax='0x00000000' ebx='0x02001000' ecx='0x00000020' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x0000000f' ecx_in='0x01' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000006'/>
|
||||
<cpuid eax_in='0x80000007' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000100'/>
|
||||
<msr index='0x10a' edx='0x00000000' eax='0x00000100'/>
|
||||
</cpudata>
|
10
tests/cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml
Normal file
10
tests/cputestdata/x86_64-cpuid-Atom-P5362-enabled.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<!-- Features enabled by QEMU -->
|
||||
<cpudata arch='x86'>
|
||||
<cpuid eax_in='0x00000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0xc7f8a223' edx='0x0f8bfbff'/>
|
||||
<cpuid eax_in='0x00000006' ecx_in='0x00' eax='0x00000004' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x00000007' ecx_in='0x00' eax='0x00000000' ebx='0x21940283' ecx='0x1a400104' edx='0xac000400'/>
|
||||
<cpuid eax_in='0x0000000d' ecx_in='0x01' eax='0x0000000f' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x80000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000101' edx='0x28100800'/>
|
||||
<cpuid eax_in='0x80000008' ecx_in='0x00' eax='0x00000000' ebx='0x01009000' ecx='0x00000000' edx='0x00000000'/>
|
||||
<msr index='0x10a' edx='0x00000000' eax='0x0000006b'/>
|
||||
</cpudata>
|
57
tests/cputestdata/x86_64-cpuid-Atom-P5362-guest.xml
Normal file
57
tests/cputestdata/x86_64-cpuid-Atom-P5362-guest.xml
Normal file
@ -0,0 +1,57 @@
|
||||
<cpu mode='custom' match='exact'>
|
||||
<model fallback='forbid'>IvyBridge-IBRS</model>
|
||||
<vendor>Intel</vendor>
|
||||
<feature policy='require' name='ds'/>
|
||||
<feature policy='require' name='acpi'/>
|
||||
<feature policy='require' name='ss'/>
|
||||
<feature policy='require' name='ht'/>
|
||||
<feature policy='require' name='tm'/>
|
||||
<feature policy='require' name='pbe'/>
|
||||
<feature policy='require' name='dtes64'/>
|
||||
<feature policy='require' name='monitor'/>
|
||||
<feature policy='require' name='ds_cpl'/>
|
||||
<feature policy='require' name='vmx'/>
|
||||
<feature policy='require' name='smx'/>
|
||||
<feature policy='require' name='est'/>
|
||||
<feature policy='require' name='tm2'/>
|
||||
<feature policy='require' name='xtpr'/>
|
||||
<feature policy='require' name='pdcm'/>
|
||||
<feature policy='require' name='movbe'/>
|
||||
<feature policy='require' name='osxsave'/>
|
||||
<feature policy='require' name='arat'/>
|
||||
<feature policy='require' name='tsc_adjust'/>
|
||||
<feature policy='require' name='cmt'/>
|
||||
<feature policy='require' name='rdseed'/>
|
||||
<feature policy='require' name='smap'/>
|
||||
<feature policy='require' name='clflushopt'/>
|
||||
<feature policy='require' name='clwb'/>
|
||||
<feature policy='require' name='intel-pt'/>
|
||||
<feature policy='require' name='sha-ni'/>
|
||||
<feature policy='require' name='umip'/>
|
||||
<feature policy='require' name='waitpkg'/>
|
||||
<feature policy='require' name='gfni'/>
|
||||
<feature policy='require' name='rdpid'/>
|
||||
<feature policy='require' name='cldemote'/>
|
||||
<feature policy='require' name='movdiri'/>
|
||||
<feature policy='require' name='movdir64b'/>
|
||||
<feature policy='require' name='md-clear'/>
|
||||
<feature policy='require' name='stibp'/>
|
||||
<feature policy='require' name='arch-capabilities'/>
|
||||
<feature policy='require' name='ssbd'/>
|
||||
<feature policy='require' name='xsaveopt'/>
|
||||
<feature policy='require' name='xsavec'/>
|
||||
<feature policy='require' name='xgetbv1'/>
|
||||
<feature policy='require' name='xsaves'/>
|
||||
<feature policy='require' name='mbm_total'/>
|
||||
<feature policy='require' name='mbm_local'/>
|
||||
<feature policy='require' name='3dnowprefetch'/>
|
||||
<feature policy='require' name='invtsc'/>
|
||||
<feature policy='require' name='rdctl-no'/>
|
||||
<feature policy='require' name='ibrs-all'/>
|
||||
<feature policy='require' name='skip-l1dfl-vmentry'/>
|
||||
<feature policy='require' name='mds-no'/>
|
||||
<feature policy='require' name='pschange-mc-no'/>
|
||||
<feature policy='require' name='taa-no'/>
|
||||
<feature policy='disable' name='avx'/>
|
||||
<feature policy='disable' name='f16c'/>
|
||||
</cpu>
|
66
tests/cputestdata/x86_64-cpuid-Atom-P5362-host.xml
Normal file
66
tests/cputestdata/x86_64-cpuid-Atom-P5362-host.xml
Normal file
@ -0,0 +1,66 @@
|
||||
<cpu>
|
||||
<arch>x86_64</arch>
|
||||
<model>Westmere-IBRS</model>
|
||||
<vendor>Intel</vendor>
|
||||
<feature name='vme'/>
|
||||
<feature name='ds'/>
|
||||
<feature name='acpi'/>
|
||||
<feature name='ss'/>
|
||||
<feature name='ht'/>
|
||||
<feature name='tm'/>
|
||||
<feature name='pbe'/>
|
||||
<feature name='pclmuldq'/>
|
||||
<feature name='dtes64'/>
|
||||
<feature name='monitor'/>
|
||||
<feature name='ds_cpl'/>
|
||||
<feature name='vmx'/>
|
||||
<feature name='smx'/>
|
||||
<feature name='est'/>
|
||||
<feature name='tm2'/>
|
||||
<feature name='xtpr'/>
|
||||
<feature name='pdcm'/>
|
||||
<feature name='x2apic'/>
|
||||
<feature name='movbe'/>
|
||||
<feature name='tsc-deadline'/>
|
||||
<feature name='xsave'/>
|
||||
<feature name='osxsave'/>
|
||||
<feature name='rdrand'/>
|
||||
<feature name='arat'/>
|
||||
<feature name='fsgsbase'/>
|
||||
<feature name='tsc_adjust'/>
|
||||
<feature name='smep'/>
|
||||
<feature name='erms'/>
|
||||
<feature name='cmt'/>
|
||||
<feature name='rdseed'/>
|
||||
<feature name='smap'/>
|
||||
<feature name='clflushopt'/>
|
||||
<feature name='clwb'/>
|
||||
<feature name='intel-pt'/>
|
||||
<feature name='sha-ni'/>
|
||||
<feature name='umip'/>
|
||||
<feature name='waitpkg'/>
|
||||
<feature name='gfni'/>
|
||||
<feature name='rdpid'/>
|
||||
<feature name='cldemote'/>
|
||||
<feature name='movdiri'/>
|
||||
<feature name='movdir64b'/>
|
||||
<feature name='md-clear'/>
|
||||
<feature name='stibp'/>
|
||||
<feature name='arch-capabilities'/>
|
||||
<feature name='ssbd'/>
|
||||
<feature name='xsaveopt'/>
|
||||
<feature name='xsavec'/>
|
||||
<feature name='xgetbv1'/>
|
||||
<feature name='xsaves'/>
|
||||
<feature name='mbm_total'/>
|
||||
<feature name='mbm_local'/>
|
||||
<feature name='rdtscp'/>
|
||||
<feature name='3dnowprefetch'/>
|
||||
<feature name='invtsc'/>
|
||||
<feature name='rdctl-no'/>
|
||||
<feature name='ibrs-all'/>
|
||||
<feature name='skip-l1dfl-vmentry'/>
|
||||
<feature name='mds-no'/>
|
||||
<feature name='pschange-mc-no'/>
|
||||
<feature name='taa-no'/>
|
||||
</cpu>
|
41
tests/cputestdata/x86_64-cpuid-Atom-P5362-json.xml
Normal file
41
tests/cputestdata/x86_64-cpuid-Atom-P5362-json.xml
Normal file
@ -0,0 +1,41 @@
|
||||
<cpu mode='custom' match='exact'>
|
||||
<model fallback='forbid'>IvyBridge-IBRS</model>
|
||||
<vendor>Intel</vendor>
|
||||
<feature policy='require' name='ss'/>
|
||||
<feature policy='require' name='vmx'/>
|
||||
<feature policy='require' name='pdcm'/>
|
||||
<feature policy='require' name='movbe'/>
|
||||
<feature policy='require' name='hypervisor'/>
|
||||
<feature policy='require' name='arat'/>
|
||||
<feature policy='require' name='tsc_adjust'/>
|
||||
<feature policy='require' name='rdseed'/>
|
||||
<feature policy='require' name='smap'/>
|
||||
<feature policy='require' name='clflushopt'/>
|
||||
<feature policy='require' name='clwb'/>
|
||||
<feature policy='require' name='sha-ni'/>
|
||||
<feature policy='require' name='umip'/>
|
||||
<feature policy='require' name='gfni'/>
|
||||
<feature policy='require' name='rdpid'/>
|
||||
<feature policy='require' name='cldemote'/>
|
||||
<feature policy='require' name='movdiri'/>
|
||||
<feature policy='require' name='movdir64b'/>
|
||||
<feature policy='require' name='md-clear'/>
|
||||
<feature policy='require' name='stibp'/>
|
||||
<feature policy='require' name='arch-capabilities'/>
|
||||
<feature policy='require' name='ssbd'/>
|
||||
<feature policy='require' name='xsaveopt'/>
|
||||
<feature policy='require' name='xsavec'/>
|
||||
<feature policy='require' name='xgetbv1'/>
|
||||
<feature policy='require' name='xsaves'/>
|
||||
<feature policy='require' name='3dnowprefetch'/>
|
||||
<feature policy='require' name='ibpb'/>
|
||||
<feature policy='require' name='amd-stibp'/>
|
||||
<feature policy='require' name='amd-ssbd'/>
|
||||
<feature policy='require' name='rdctl-no'/>
|
||||
<feature policy='require' name='ibrs-all'/>
|
||||
<feature policy='require' name='skip-l1dfl-vmentry'/>
|
||||
<feature policy='require' name='mds-no'/>
|
||||
<feature policy='require' name='pschange-mc-no'/>
|
||||
<feature policy='disable' name='avx'/>
|
||||
<feature policy='disable' name='f16c'/>
|
||||
</cpu>
|
2415
tests/cputestdata/x86_64-cpuid-Atom-P5362.json
Normal file
2415
tests/cputestdata/x86_64-cpuid-Atom-P5362.json
Normal file
File diff suppressed because it is too large
Load Diff
4
tests/cputestdata/x86_64-cpuid-Atom-P5362.sig
Normal file
4
tests/cputestdata/x86_64-cpuid-Atom-P5362.sig
Normal file
@ -0,0 +1,4 @@
|
||||
080665
|
||||
family: 6 (0x06)
|
||||
model: 134 (0x86)
|
||||
stepping: 5 (0x05)
|
61
tests/cputestdata/x86_64-cpuid-Atom-P5362.xml
Normal file
61
tests/cputestdata/x86_64-cpuid-Atom-P5362.xml
Normal file
@ -0,0 +1,61 @@
|
||||
<!-- Intel Atom(R) P5362 processor -->
|
||||
<cpudata arch='x86'>
|
||||
<cpuid eax_in='0x00000000' ecx_in='0x00' eax='0x0000001b' ebx='0x756e6547' ecx='0x6c65746e' edx='0x49656e69'/>
|
||||
<cpuid eax_in='0x00000001' ecx_in='0x00' eax='0x00080665' ebx='0x02800800' ecx='0x4ff8ebff' edx='0xbfebfbff'/>
|
||||
<cpuid eax_in='0x00000002' ecx_in='0x00' eax='0x00feff01' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x00000003' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x00000004' ecx_in='0x00' eax='0xfc000121' ebx='0x01c0003f' ecx='0x0000003f' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x00000004' ecx_in='0x01' eax='0xfc000122' ebx='0x01c0003f' ecx='0x0000003f' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x00000004' ecx_in='0x02' eax='0xfc01c143' ebx='0x0440003f' ecx='0x00000fff' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x00000004' ecx_in='0x03' eax='0xfc1fc163' ebx='0x04c0003f' ecx='0x00002fff' edx='0x00000004'/>
|
||||
<cpuid eax_in='0x00000005' ecx_in='0x00' eax='0x00000040' ebx='0x00000040' ecx='0x00000003' edx='0x00001020'/>
|
||||
<cpuid eax_in='0x00000006' ecx_in='0x00' eax='0x00000075' ebx='0x00000002' ecx='0x00000009' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x00000007' ecx_in='0x00' eax='0x00000000' ebx='0x2394b2c3' ecx='0x1a400124' edx='0xfc000400'/>
|
||||
<cpuid eax_in='0x00000008' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x00000009' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x0000000a' ecx_in='0x00' eax='0x07300405' ebx='0x00000000' ecx='0x00000007' edx='0x00008603'/>
|
||||
<cpuid eax_in='0x0000000b' ecx_in='0x00' eax='0x00000001' ebx='0x00000001' ecx='0x00000100' edx='0x00000002'/>
|
||||
<cpuid eax_in='0x0000000b' ecx_in='0x01' eax='0x00000007' ebx='0x00000018' ecx='0x00000201' edx='0x00000002'/>
|
||||
<cpuid eax_in='0x0000000c' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x0000000d' ecx_in='0x00' eax='0x00000003' ebx='0x00000240' ecx='0x00000240' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x0000000d' ecx_in='0x01' eax='0x0000000f' ebx='0x00000240' ecx='0x00000100' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x0000000d' ecx_in='0x08' eax='0x00000080' ebx='0x00000000' ecx='0x00000001' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x0000000e' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x0000000f' ecx_in='0x00' eax='0x00000000' ebx='0x0000002f' ecx='0x00000000' edx='0x00000002'/>
|
||||
<cpuid eax_in='0x0000000f' ecx_in='0x01' eax='0x00000008' ebx='0x00003000' ecx='0x0000002f' edx='0x00000007'/>
|
||||
<cpuid eax_in='0x00000010' ecx_in='0x00' eax='0x00000000' ebx='0x0000000e' ecx='0x00000000' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x00000010' ecx_in='0x01' eax='0x00000013' ebx='0x000c0000' ecx='0x00000004' edx='0x0000000d'/>
|
||||
<cpuid eax_in='0x00000010' ecx_in='0x02' eax='0x00000011' ebx='0x00000000' ecx='0x00000004' edx='0x0000000d'/>
|
||||
<cpuid eax_in='0x00000010' ecx_in='0x03' eax='0x00000059' ebx='0x00000000' ecx='0x00000004' edx='0x0000000d'/>
|
||||
<cpuid eax_in='0x00000011' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x00000012' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x00000013' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x00000014' ecx_in='0x00' eax='0x00000001' ebx='0x0000007f' ecx='0x80000007' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x00000014' ecx_in='0x01' eax='0x02490002' ebx='0x003fffff' ecx='0x00000000' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x00000015' ecx_in='0x00' eax='0x00000002' ebx='0x000000b0' ecx='0x017d7840' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x00000016' ecx_in='0x00' eax='0x00000898' ebx='0x00000898' ecx='0x00000064' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x00000017' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x00000018' ecx_in='0x00' eax='0x00000005' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x00000018' ecx_in='0x01' eax='0x00000000' ebx='0x00300001' ecx='0x00000001' edx='0x00000121'/>
|
||||
<cpuid eax_in='0x00000018' ecx_in='0x02' eax='0x00000000' ebx='0x00040001' ecx='0x00000100' edx='0x00000043'/>
|
||||
<cpuid eax_in='0x00000018' ecx_in='0x03' eax='0x00000000' ebx='0x00040006' ecx='0x00000010' edx='0x00000043'/>
|
||||
<cpuid eax_in='0x00000018' ecx_in='0x04' eax='0x00000000' ebx='0x00300001' ecx='0x00000001' edx='0x00000122'/>
|
||||
<cpuid eax_in='0x00000018' ecx_in='0x05' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x00000019' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x0000001a' ecx_in='0x00' eax='0x20000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x0000001b' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x20000000' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x80000000' ecx_in='0x00' eax='0x80000008' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x80000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000101' edx='0x28100800'/>
|
||||
<cpuid eax_in='0x80000002' ecx_in='0x00' eax='0x65746e49' ebx='0x7441206c' ecx='0x52286d6f' edx='0x35502029'/>
|
||||
<cpuid eax_in='0x80000003' ecx_in='0x00' eax='0x20323633' ebx='0x636f7270' ecx='0x6f737365' edx='0x00000072'/>
|
||||
<cpuid eax_in='0x80000004' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x80000005' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x80000006' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x12008040' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x80000007' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000100'/>
|
||||
<cpuid eax_in='0x80000008' ecx_in='0x00' eax='0x0000302a' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
|
||||
<cpuid eax_in='0x80860000' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
|
||||
<cpuid eax_in='0xc0000000' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
|
||||
<msr index='0xcf' edx='0x00000000' eax='0x00000060'/>
|
||||
<msr index='0x10a' edx='0x001a8c7f' eax='0xa080036b'/>
|
||||
</cpudata>
|
Loading…
Reference in New Issue
Block a user