commit | 1cc6cbc3e405536b971cbd62341197a411e7713c | [log] [tgz] |
---|---|---|
author | Sean Christopherson <sean.j.christopherson@intel.com> | Thu Sep 24 12:42:48 2020 -0700 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Sep 28 07:57:26 2020 -0400 |
tree | c8b77ee65e677bb1ebe5ded44269971acf571854 | |
parent | 526ad23bc564ae60170ae18a087d018bbd6618ab [diff] |
KVM: VMX: Replace MSR_IA32_RTIT_OUTPUT_BASE_MASK with helper function Replace the subtly not-a-constant MSR_IA32_RTIT_OUTPUT_BASE_MASK with a proper helper function to check whether or not the specified base is valid. Blindly referencing the local 'vcpu' is especially nasty. Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Message-Id: <20200924194250.19137-4-sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>