]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: Disable loading of TSX_CTRL MSR the more conventional way
authorSean Christopherson <seanjc@google.com>
Tue, 4 May 2021 17:17:30 +0000 (10:17 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 7 May 2021 10:06:18 +0000 (06:06 -0400)
commitada140fbcd85a9cd50585bcc516e0edea4237a2d
tree79f93fe027e29bf8706a0a8193c216f6ef1de15a
parent279e2e7dc0c721643891cdc253ea439c0e1c33b1
KVM: VMX: Disable loading of TSX_CTRL MSR the more conventional way

Tag TSX_CTRL as not needing to be loaded when RTM isn't supported in the
host.  Crushing the write mask to '0' has the same effect, but requires
more mental gymnastics to understand.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210504171734.1434054-12-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmx.c