summary refs log tree commit diff stats
path: root/hw/pci-host/q35.c
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2018-05-21 22:54:24 +0100
committerEduardo Habkost <ehabkost@redhat.com>2018-05-21 18:59:08 -0300
commitcfeea0c021db6234c154dbc723730e81553924ff (patch)
treed72e36a2202ff276ca218b6cc07f3fd30879b0d3 /hw/pci-host/q35.c
parentd19d1f965904a533998739698020ff4ee8a103da (diff)
downloadfocaccia-qemu-cfeea0c021db6234c154dbc723730e81553924ff.tar.gz
focaccia-qemu-cfeea0c021db6234c154dbc723730e81553924ff.zip
i386: Define the Virt SSBD MSR and handling of it (CVE-2018-3639)
"Some AMD processors only support a non-architectural means of enabling
speculative store bypass disable (SSBD).  To allow a simplified view of
this to a guest, an architectural definition has been created through a new
CPUID bit, 0x80000008_EBX[25], and a new MSR, 0xc001011f.  With this, a
hypervisor can virtualize the existence of this definition and provide an
architectural method for using SSBD to a guest.

Add the new CPUID feature, the new MSR and update the existing SSBD
support to use this MSR when present." (from x86/speculation: Add virtualized
speculative store bypass disable support in Linux).

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20180521215424.13520-4-berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/pci-host/q35.c')
0 files changed, 0 insertions, 0 deletions