KVM: x86/pmu: Tweak kvm_pmu_get_msr to pass 'struct msr_data' in
Change kvm_pmu_get_msr() to get the msr_data struct, as the host_initiated field from the struct could be used by get_msr. This also makes this API consistent with kvm_pmu_set_msr. No functional changes. Signed-off-by:Wei Wang <wei.w.wang@intel.com> Message-Id: <20200529074347.124619-2-like.xu@linux.intel.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Showing
- arch/x86/kvm/pmu.c 2 additions, 2 deletionsarch/x86/kvm/pmu.c
- arch/x86/kvm/pmu.h 2 additions, 2 deletionsarch/x86/kvm/pmu.h
- arch/x86/kvm/svm/pmu.c 4 additions, 3 deletionsarch/x86/kvm/svm/pmu.c
- arch/x86/kvm/vmx/pmu_intel.c 11 additions, 8 deletionsarch/x86/kvm/vmx/pmu_intel.c
- arch/x86/kvm/x86.c 2 additions, 2 deletionsarch/x86/kvm/x86.c
Loading
Please register or sign in to comment