diff options
author | Like Xu <like.xu@linux.intel.com> | 2021-02-01 13:10:29 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-02-04 05:27:23 -0500 |
commit | 252e365eb28ddf49eb31cec1a5d99e708c73f57b (patch) | |
tree | 40d53100f1c6d18438904524bbc8f133bfa03e3b /arch/x86/kvm/vmx/pmu_intel.c | |
parent | d855066f81726155caf766e47eea58ae10b1fd57 (diff) | |
download | lwn-252e365eb28ddf49eb31cec1a5d99e708c73f57b.tar.gz lwn-252e365eb28ddf49eb31cec1a5d99e708c73f57b.zip |
KVM: x86/vmx: Make vmx_set_intercept_for_msr() non-static
To make code responsibilities clear, we may resue and invoke the
vmx_set_intercept_for_msr() in other vmx-specific files (e.g. pmu_intel.c),
so expose it to passthrough LBR msrs later.
Signed-off-by: Like Xu <like.xu@linux.intel.com>
Reviewed-by: Andi Kleen <ak@linux.intel.com>
Message-Id: <20210201051039.255478-2-like.xu@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/vmx/pmu_intel.c')
0 files changed, 0 insertions, 0 deletions