target/i386: add MDS-NO feature
commit41e1564fb50515d7902628d25c0c8421a8516cc1
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 6 Jun 2019 14:12:03 +0000 (6 16:12 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 1 Oct 2019 21:58:28 +0000 (1 16:58 -0500)
treee8fdd7a19640ade4bad1c78a26288e6bddb379fb
parent8e29c657cacbea10e35b27e5069f0e340a7c03a4
target/i386: add MDS-NO feature

Microarchitectural Data Sampling is a hardware vulnerability which allows
unprivileged speculative access to data which is available in various CPU
internal buffers.

Some Intel processors use the ARCH_CAP_MDS_NO bit in the
IA32_ARCH_CAPABILITIES
MSR to report that they are not vulnerable, make it available to guests.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20190516185320.28340-1-pbonzini@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
(cherry picked from commit 20140a82c67467f53814ca197403d5e1b561a5e5)
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
target/i386/cpu.c