OSDN Git Service

target/i386: Export TAA_NO bit to guests
authorPawan Gupta <pawan.kumar.gupta@linux.intel.com>
Tue, 19 Nov 2019 07:23:27 +0000 (23:23 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 19 Nov 2019 09:01:32 +0000 (10:01 +0100)
commit7fac38635e1cc5ebae34eb6530da1009bd5808e4
tree7eaede164c578b61da2b928b16a4089dfc1fe851
parent7f7a585d5bd3c7f1275d28c77d9d67513c1de36c
target/i386: Export TAA_NO bit to guests

TSX Async Abort (TAA) is a side channel attack on internal buffers in
some Intel processors similar to Microachitectural Data Sampling (MDS).

Some future Intel processors will use the ARCH_CAP_TAA_NO bit in the
IA32_ARCH_CAPABILITIES MSR to report that they are not vulnerable to
TAA. Make this bit available to guests.

Signed-off-by: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/cpu.c