libvirt/src/cpu
Jiri Denemark 095760cddc cpu_x86: Probe host CPU for all MSR features
The list of CPU features we probe from various MSR grew significantly
over time and the CPU map currently mentions 11 distinct MSR indexes.
But the code for directly probing host CPU features was still reading
only the original 0x10a index. Thus the CPU model in host capabilities
was missing a lot of features.

Instead of specifying a static list of indexes to read (which we would
forget to update in the future), let's just read all indexes found in
the CPU map.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2025-01-17 12:52:28 +01:00
..
cpu_arm_data.h cpu_arm: Avoid use of 'unsigned long' 2022-11-02 09:20:58 +01:00
cpu_arm.c cpu: Add removedPolicy parameter to virCPUUpdate 2024-05-02 19:56:45 +02:00
cpu_arm.h src/cpu: use #pragma once in headers 2019-06-13 17:05:09 +02:00
cpu_loongarch.c cpu: Add removedPolicy parameter to virCPUUpdate 2024-05-02 19:56:45 +02:00
cpu_loongarch.h Add loongarch cpu support 2024-03-21 14:42:20 +01:00
cpu_map.c cpu_map: Properly group models in index.xml 2024-11-26 13:04:34 +01:00
cpu_map.h src/cpu: use #pragma once in headers 2019-06-13 17:05:09 +02:00
cpu_ppc64_data.h src/cpu: use #pragma once in headers 2019-06-13 17:05:09 +02:00
cpu_ppc64.c cpu: Add removedPolicy parameter to virCPUUpdate 2024-05-02 19:56:45 +02:00
cpu_ppc64.h src/cpu: use #pragma once in headers 2019-06-13 17:05:09 +02:00
cpu_riscv64.c cpu: Add removedPolicy parameter to virCPUUpdate 2024-05-02 19:56:45 +02:00
cpu_riscv64.h src/cpu: add a basic RiscV64 cpu driver 2023-01-24 13:24:20 -03:00
cpu_s390.c cpu: Add removedPolicy parameter to virCPUUpdate 2024-05-02 19:56:45 +02:00
cpu_s390.h src/cpu: use #pragma once in headers 2019-06-13 17:05:09 +02:00
cpu_x86_data.h conf, docs: Add support for direct and extended tlbflush features 2024-12-26 10:46:59 +01:00
cpu_x86.c cpu_x86: Probe host CPU for all MSR features 2025-01-17 12:52:28 +01:00
cpu_x86.h cpu: x86: Add support for adding features to existing CPU models 2024-03-14 16:15:06 +01:00
cpu.c cpu: Check blockers in virCPUCompareUnusable only if they exist 2024-11-27 14:50:44 +01:00
cpu.h cpu: Introduce virCPUGetCanonicalModel 2024-11-26 13:04:34 +01:00
meson.build Add loongarch cpu support 2024-03-21 14:42:20 +01:00