]> git.ipfire.org Git - thirdparty/libvirt.git/commit
cputest: Test virQEMUCapsInitCPUModel
authorJiri Denemark <jdenemar@redhat.com>
Mon, 13 Feb 2017 09:33:52 +0000 (10:33 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 3 Mar 2017 18:57:57 +0000 (19:57 +0100)
commita19696b5924e7512dcca4f30d15147036708389e
tree5d88513d5d1e521611d4bdfd2b65589b71cac668
parentd46a1aa4d8caafe977cc41a80ef86af1d10e60b7
cputest: Test virQEMUCapsInitCPUModel

The original test didn't use family/model numbers to make better
decisions about the CPU model and thus mis-detected the model in the two
cases which are modified in this commit. The detected CPU models now
match those obtained from raw CPUID data.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
20 files changed:
tests/cputest.c
tests/cputestdata/x86_64-cpuid-A10-5800K-json.xml
tests/cputestdata/x86_64-cpuid-Core-i5-2500-json.xml
tests/cputestdata/x86_64-cpuid-Core-i5-2540M-json.xml
tests/cputestdata/x86_64-cpuid-Core-i5-4670T-json.xml
tests/cputestdata/x86_64-cpuid-Core-i5-6600-json.xml
tests/cputestdata/x86_64-cpuid-Core-i7-2600-json.xml
tests/cputestdata/x86_64-cpuid-Core-i7-3740QM-json.xml
tests/cputestdata/x86_64-cpuid-Core-i7-3770-json.xml
tests/cputestdata/x86_64-cpuid-Core-i7-4600U-json.xml
tests/cputestdata/x86_64-cpuid-Core-i7-5600U-json.xml
tests/cputestdata/x86_64-cpuid-Core2-E6850-json.xml
tests/cputestdata/x86_64-cpuid-Opteron-2350-json.xml
tests/cputestdata/x86_64-cpuid-Opteron-6234-json.xml
tests/cputestdata/x86_64-cpuid-Phenom-B95-json.xml
tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-json.xml
tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-json.xml
tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-json.xml
tests/cputestdata/x86_64-cpuid-Xeon-E7-4820-json.xml
tests/cputestdata/x86_64-cpuid-Xeon-W3520-json.xml