5ea187b cputest: Fix cpu-cpuid.py diff command

Authored and Committed by Jiri Denemark 6 years ago
40 files changed. 40 lines added. 57 lines removed.
tests/cputestdata/cpu-cpuid.py
file modified
+37 -15
tests/cputestdata/x86_64-cpuid-A10-5800K-disabled.xml
file modified
+0 -1
tests/cputestdata/x86_64-cpuid-A10-5800K-enabled.xml
file modified
+0 -2
tests/cputestdata/x86_64-cpuid-Core-i5-2500-enabled.xml
file modified
+0 -1
tests/cputestdata/x86_64-cpuid-Core-i5-2540M-enabled.xml
file modified
+0 -1
tests/cputestdata/x86_64-cpuid-Core-i5-4670T-enabled.xml
file modified
+0 -1
tests/cputestdata/x86_64-cpuid-Core-i5-6600-enabled.xml
file modified
+0 -1
tests/cputestdata/x86_64-cpuid-Core-i7-2600-enabled.xml
file modified
+0 -1
tests/cputestdata/x86_64-cpuid-Core-i7-2600-xsaveopt-disabled.xml
file modified
+0 -1
tests/cputestdata/x86_64-cpuid-Core-i7-2600-xsaveopt-enabled.xml
file modified
+0 -1
tests/cputestdata/x86_64-cpuid-Core-i7-3740QM-enabled.xml
file modified
+0 -1
tests/cputestdata/x86_64-cpuid-Core-i7-3770-enabled.xml
file modified
+0 -1
tests/cputestdata/x86_64-cpuid-Core-i7-4510U-enabled.xml
file modified
+0 -1
tests/cputestdata/x86_64-cpuid-Core-i7-4600U-enabled.xml
file modified
+0 -1
tests/cputestdata/x86_64-cpuid-Core-i7-5600U-arat-disabled.xml
file modified
+1 -0
tests/cputestdata/x86_64-cpuid-Core-i7-5600U-arat-enabled.xml
file modified
+0 -1
tests/cputestdata/x86_64-cpuid-Core-i7-5600U-enabled.xml
file modified
+0 -1
tests/cputestdata/x86_64-cpuid-Core-i7-7700-enabled.xml
file modified
+0 -1
tests/cputestdata/x86_64-cpuid-Core2-E6850-enabled.xml
file modified
+0 -1
tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-disabled.xml
file modified
+0 -1
tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-enabled.xml
file modified
+0 -2
tests/cputestdata/x86_64-cpuid-Opteron-2350-disabled.xml
file modified
+0 -1
tests/cputestdata/x86_64-cpuid-Opteron-2350-enabled.xml
file modified
+0 -2
tests/cputestdata/x86_64-cpuid-Opteron-6234-disabled.xml
file modified
+0 -1
tests/cputestdata/x86_64-cpuid-Opteron-6234-enabled.xml
file modified
+0 -2
tests/cputestdata/x86_64-cpuid-Phenom-B95-disabled.xml
file modified
+0 -1
tests/cputestdata/x86_64-cpuid-Phenom-B95-enabled.xml
file modified
+0 -2
tests/cputestdata/x86_64-cpuid-Ryzen-7-1800X-Eight-Core-disabled.xml
file modified
+0 -1
tests/cputestdata/x86_64-cpuid-Ryzen-7-1800X-Eight-Core-enabled.xml
file modified
+0 -2
tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-v5-enabled.xml
file modified
+0 -1
tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-v3-enabled.xml
file modified
+0 -1
tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-v3-enabled.xml
file modified
+0 -1
tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-v4-disabled.xml
file modified
+1 -0
tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-v4-enabled.xml
file modified
+0 -1
tests/cputestdata/x86_64-cpuid-Xeon-E7-4820-enabled.xml
file modified
+0 -1
tests/cputestdata/x86_64-cpuid-Xeon-E7-4830-enabled.xml
file modified
+0 -1
tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-v3-enabled.xml
file modified
+0 -1
tests/cputestdata/x86_64-cpuid-Xeon-Gold-6148-disabled.xml
file modified
+1 -0
tests/cputestdata/x86_64-cpuid-Xeon-Gold-6148-enabled.xml
file modified
+0 -1
tests/cputestdata/x86_64-cpuid-Xeon-W3520-enabled.xml
file modified
+0 -1
    cputest: Fix cpu-cpuid.py diff command
    
    The cpuidMap in cpu-cpuid.py was created for converting old data files
    (with QEMU's feature-words bits) to the new model-expansion based data.
    When I added tests for CPU live update based on disabled/enabled feature
    lists I shamelessly used the existing cpuidMap for generating the
    *-{enabled,disabled}.xml data files. Thus any new CPUID bits which are
    not present in the original cpuidMap would be ignored. The correct thing
    to do is to use cpu_map.xml.
    
    All data files were fixed by running the following command:
    
        ./cpu-cpuid.py diff *.json
    
    Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
    Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
    
        
file modified
+37 -15