diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2019-11-18 12:23:01 -0500 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-11-21 10:01:02 +0100 |
commit | b07a5c53d42a8c87b208614129e947dd2338ff9c (patch) | |
tree | 55af2acf7fa441a712ec07162ef90661ebbc59a8 /arch/x86/kvm/lapic.c | |
parent | c11f83e0626bdc2b6c550fc8b9b6eeefbd8cefaa (diff) |
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: Jim Mattson <jmattson@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/lapic.c')
0 files changed, 0 insertions, 0 deletions