]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/i386: add support for MSR_IA32_TSX_CTRL
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 20 Nov 2019 12:19:22 +0000 (13:19 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 21 Nov 2019 15:35:05 +0000 (16:35 +0100)
commit2a9758c51e2c2d13fc3845c3d603c11df98b8823
tree4cb8e2cf0dc975329d1447552b57c8c3fc4e9160
parent0723cc8a5558c94388db75ae1f4991314914edd3
target/i386: add support for MSR_IA32_TSX_CTRL

The MSR_IA32_TSX_CTRL MSR can be used to hide TSX (also known as the
Trusty Side-channel Extension).  By virtualizing the MSR, KVM guests
can disable TSX and avoid paying the price of mitigating TSX-based
attacks on microarchitectural side channels.

Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/cpu.c
target/i386/cpu.h
target/i386/kvm.c
target/i386/machine.c