]> xenbits.xensource.com Git - libvirt.git/commit
conf: cpu: Add <signature family=X model=X stepping=X/>
authorCole Robinson <crobinso@redhat.com>
Sat, 11 Jun 2022 16:24:37 +0000 (12:24 -0400)
committerCole Robinson <crobinso@redhat.com>
Thu, 16 Jun 2022 16:12:45 +0000 (12:12 -0400)
commit812edc95a36b997d674ce4f3a56f4fd01f31904e
treeb656099803178c6037a498911100a6ddabfb4f86
parent03771f5f04df3ae6d4660d24a70d0a71d1131c06
conf: cpu: Add <signature family=X model=X stepping=X/>

Internally we already collect x86 host family + model + stepping
numeric values. This exposed them in capabilities CPU output.
Example:

$ sudo virsh capabilities | grep -A1 -B1 signature
      <microcode version='240'/>
      <signature family='6' model='94' stepping='3'/>
      <counter name='tsc' frequency='3408010000' scaling='no'/>

Users need to know these values to calculate an expected.
SEV-ES/SEV-SNP launch measurement.

Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
65 files changed:
src/conf/cpu_conf.c
src/conf/cpu_conf.h
src/conf/schemas/cputypes.rng
src/cpu/cpu_x86.c
tests/cputestdata/x86_64-cpuid-A10-5800K-host.xml
tests/cputestdata/x86_64-cpuid-Atom-D510-host.xml
tests/cputestdata/x86_64-cpuid-Atom-N450-host.xml
tests/cputestdata/x86_64-cpuid-Atom-P5362-host.xml
tests/cputestdata/x86_64-cpuid-Cooperlake-host.xml
tests/cputestdata/x86_64-cpuid-Core-i5-2500-host.xml
tests/cputestdata/x86_64-cpuid-Core-i5-2540M-host.xml
tests/cputestdata/x86_64-cpuid-Core-i5-4670T-host.xml
tests/cputestdata/x86_64-cpuid-Core-i5-650-host.xml
tests/cputestdata/x86_64-cpuid-Core-i5-6600-host.xml
tests/cputestdata/x86_64-cpuid-Core-i7-2600-host.xml
tests/cputestdata/x86_64-cpuid-Core-i7-2600-xsaveopt-host.xml
tests/cputestdata/x86_64-cpuid-Core-i7-3520M-host.xml
tests/cputestdata/x86_64-cpuid-Core-i7-3740QM-host.xml
tests/cputestdata/x86_64-cpuid-Core-i7-3770-host.xml
tests/cputestdata/x86_64-cpuid-Core-i7-4510U-host.xml
tests/cputestdata/x86_64-cpuid-Core-i7-4600U-host.xml
tests/cputestdata/x86_64-cpuid-Core-i7-5600U-arat-host.xml
tests/cputestdata/x86_64-cpuid-Core-i7-5600U-host.xml
tests/cputestdata/x86_64-cpuid-Core-i7-5600U-ibrs-host.xml
tests/cputestdata/x86_64-cpuid-Core-i7-7600U-host.xml
tests/cputestdata/x86_64-cpuid-Core-i7-7700-host.xml
tests/cputestdata/x86_64-cpuid-Core-i7-8550U-host.xml
tests/cputestdata/x86_64-cpuid-Core-i7-8700-host.xml
tests/cputestdata/x86_64-cpuid-Core2-E6850-host.xml
tests/cputestdata/x86_64-cpuid-Core2-Q9500-host.xml
tests/cputestdata/x86_64-cpuid-EPYC-7502-32-Core-host.xml
tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-host.xml
tests/cputestdata/x86_64-cpuid-EPYC-7601-32-Core-ibpb-host.xml
tests/cputestdata/x86_64-cpuid-FX-8150-host.xml
tests/cputestdata/x86_64-cpuid-Hygon-C86-7185-32-core-host.xml
tests/cputestdata/x86_64-cpuid-Ice-Lake-Server-host.xml
tests/cputestdata/x86_64-cpuid-Opteron-1352-host.xml
tests/cputestdata/x86_64-cpuid-Opteron-2350-host.xml
tests/cputestdata/x86_64-cpuid-Opteron-6234-host.xml
tests/cputestdata/x86_64-cpuid-Opteron-6282-host.xml
tests/cputestdata/x86_64-cpuid-Pentium-P6100-host.xml
tests/cputestdata/x86_64-cpuid-Phenom-B95-host.xml
tests/cputestdata/x86_64-cpuid-Ryzen-7-1800X-Eight-Core-host.xml
tests/cputestdata/x86_64-cpuid-Ryzen-9-3900X-12-Core-host.xml
tests/cputestdata/x86_64-cpuid-Xeon-5110-host.xml
tests/cputestdata/x86_64-cpuid-Xeon-E3-1225-v5-host.xml
tests/cputestdata/x86_64-cpuid-Xeon-E3-1245-v5-host.xml
tests/cputestdata/x86_64-cpuid-Xeon-E5-2609-v3-host.xml
tests/cputestdata/x86_64-cpuid-Xeon-E5-2623-v4-host.xml
tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-v3-host.xml
tests/cputestdata/x86_64-cpuid-Xeon-E5-2630-v4-host.xml
tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-host.xml
tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-v3-host.xml
tests/cputestdata/x86_64-cpuid-Xeon-E5-2650-v4-host.xml
tests/cputestdata/x86_64-cpuid-Xeon-E7-4820-host.xml
tests/cputestdata/x86_64-cpuid-Xeon-E7-4830-host.xml
tests/cputestdata/x86_64-cpuid-Xeon-E7-8890-v3-host.xml
tests/cputestdata/x86_64-cpuid-Xeon-E7540-host.xml
tests/cputestdata/x86_64-cpuid-Xeon-Gold-5115-host.xml
tests/cputestdata/x86_64-cpuid-Xeon-Gold-6130-host.xml
tests/cputestdata/x86_64-cpuid-Xeon-Gold-6148-host.xml
tests/cputestdata/x86_64-cpuid-Xeon-Platinum-8268-host.xml
tests/cputestdata/x86_64-cpuid-Xeon-Platinum-9242-host.xml
tests/cputestdata/x86_64-cpuid-Xeon-W3520-host.xml
tests/cputestdata/x86_64-cpuid-Xeon-X5460-host.xml