diff options
author | Wei Wang <wei.w.wang@intel.com> | 2020-05-29 15:43:44 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-06-01 04:26:08 -0400 |
commit | cbd717585b8038d93c309176bb563a5c6de60ac7 (patch) | |
tree | 11d707b507f4dbb31d06c9c1fe286bc44bab75fb /arch/x86/kvm/cpuid.c | |
parent | 72de5fa4c16195827252b961ba44028a39dfeaff (diff) | |
download | lwn-cbd717585b8038d93c309176bb563a5c6de60ac7.tar.gz lwn-cbd717585b8038d93c309176bb563a5c6de60ac7.zip |
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>
Diffstat (limited to 'arch/x86/kvm/cpuid.c')
0 files changed, 0 insertions, 0 deletions