commit | b07a5c53d42a8c87b208614129e947dd2338ff9c | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Mon Nov 18 12:23:01 2019 -0500 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Nov 21 10:01:02 2019 +0100 |
tree | 55af2acf7fa441a712ec07162ef90661ebbc59a8 | |
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>