libvirt/src/cpu
Daniel P. Berrangé 9267342206 cpu: define the 'virt-ssbd' CPUID feature bit (CVE-2018-3639)
Some AMD processors only support a non-architectural means of
enabling Speculative Store Bypass Disable. To allow simplified
handling in virtual environments, hypervisors will expose an
architectural definition through CPUID bit 0x80000008_EBX[25].
This needs to be exposed to guest OS running on AMD x86 hosts to
allow them to protect against CVE-2018-3639.

Note that since this CPUID bit won't be present in the host CPUID
results on physical hosts, it will not be enabled automatically
in guests configured with "host-model" CPU unless using QEMU
version >= 2.9.0. Thus for older versions of QEMU, this feature
must be manually enabled using policy=force. Guests using the
"host-passthrough" CPU mode do not need special handling.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
2018-05-22 13:13:27 +02:00
..
cpu_arm.c cpu: Use virDomainCapsCPUModelsPtr in cpu driver APIs 2017-10-16 09:21:52 +02:00
cpu_arm.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: define the 'virt-ssbd' CPUID feature bit (CVE-2018-3639) 2018-05-22 13:13:27 +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: Drop unused parameter from cpuDecode 2017-10-16 09:21:52 +02:00
cpu_ppc64.h cpu: Rename {powerpc,ppc} => ppc64 (exported symbols) 2015-08-05 13:30:16 +02:00
cpu_s390.c cpu_s390: Implement virCPUValidateFeatures 2017-09-18 10:40:12 +02:00
cpu_s390.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
cpu_x86_data.h cpu: fix typo: rename __kvm_hv_spinlock to __kvm_hv_spinlocks 2017-02-09 13:52:16 +01:00
cpu_x86.c cpu_x86: Copy CPU signature from ancestor 2018-01-10 11:07:23 +01:00
cpu_x86.h qemu: Parse CPU stepping from query-cpu-model-expansion 2017-10-17 22:37:04 +02:00
cpu.c conf: Introduce virDomainCapsCPUModelsGet 2017-10-16 09:23:17 +02:00
cpu.h cpu: Drop unused parameter from cpuDecode 2017-10-16 09:21:52 +02:00
Makefile.inc.am make: split CPU build rules into cpu/Makefile.inc.am 2018-03-05 17:12:01 +00:00