libvirt/src/cpu
Jiri Denemark 5a9221b9af cpu_x86: Use signature in CPU detection code
Our current detection code uses just the number of CPU features which
need to be added/removed from the CPU model to fully describe the CPUID
data. The smallest number wins. But this may sometimes generate wrong
results as one can see from the fixed test cases. This patch modifies
the algorithm to prefer the CPU model with matching signature even if
this model results in a longer list of additional features.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
2016-06-17 11:46:31 +02:00
..
cpu_aarch64.c Trivially implement VIR_CONNECT_BASELINE_CPU_MIGRATABLE for non-x86 cpus 2015-03-02 07:59:12 +01:00
cpu_aarch64.h AArch64: CPU Support for AArch64 (ARMv8 64bit). 2013-10-15 16:59:26 -04:00
cpu_arm.c Trivially implement VIR_CONNECT_BASELINE_CPU_MIGRATABLE for non-x86 cpus 2015-03-02 07:59:12 +01:00
cpu_arm.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
cpu_generic.c cpu: Move check for NULL CPU model inside the driver 2015-08-21 15:42:38 -07:00
cpu_generic.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
cpu_map.c cpu: Rework CPU map loading 2016-05-20 09:18:56 +02:00
cpu_map.h cpu: Rework CPU map loading 2016-05-20 09:18:56 +02:00
cpu_map.xml cpu_x86: Use signature in CPU detection code 2016-06-17 11:46:31 +02:00
cpu_ppc64_data.h cpu_ppc64: Avoid unnecessary pointer to virCPUppc64Data 2016-06-09 09:47:56 +02:00
cpu_ppc64.c cpu_ppc64: Avoid unnecessary pointer to virCPUppc64Data 2016-06-09 09:47:56 +02:00
cpu_ppc64.h cpu: Rename {powerpc,ppc} => ppc64 (exported symbols) 2015-08-05 13:30:16 +02:00
cpu_s390.c cpu: Bugfix for s390 CPU driver to return a host CPU model 2015-01-12 15:08:29 +01:00
cpu_s390.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
cpu_x86_data.h cpu_x86: Prepare for ecx_in CPUID parameter 2016-06-09 10:03:38 +02:00
cpu_x86.c cpu_x86: Use signature in CPU detection code 2016-06-17 11:46:31 +02:00
cpu_x86.h cpu_x86: Avoid unnecessary pointers to virCPUx86Data 2016-06-09 09:47:56 +02:00
cpu.c cpu: Detect arch when parsing CPU data 2016-06-09 09:47:56 +02:00
cpu.h cpu_ppc64: Avoid unnecessary pointer to virCPUppc64Data 2016-06-09 09:47:56 +02:00