Skip to content
Commit b07a5c53 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: vmx: use MSR_IA32_TSX_CTRL to hard-disable TSX on guest that lack it



If X86_FEATURE_RTM is disabled, the guest should not be able to access
MSR_IA32_TSX_CTRL.  We can therefore use it in KVM to force all
transactions from the guest to abort.

Tested-by: default avatarJim Mattson <jmattson@google.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent c11f83e0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment