summaryrefslogtreecommitdiff
path: root/include/kvm
diff options
context:
space:
mode:
authorReiji Watanabe <reijiw@google.com>2023-10-20 21:40:41 +0000
committerOliver Upton <oliver.upton@linux.dev>2023-10-24 19:07:33 +0000
commit1616ca6f3c10723c1b60ae44724212fae88f502d (patch)
tree876ed93aaf68d2478df6cdf20069183fe0e34626 /include/kvm
parent6465e260f48790807eef06b583b38ca9789b6072 (diff)
KVM: arm64: PMU: Introduce helpers to set the guest's PMU
Introduce new helper functions to set the guest's PMU (kvm->arch.arm_pmu) either to a default probed instance or to a caller requested one, and use it when the guest's PMU needs to be set. These helpers will make it easier for the following patches to modify the relevant code. No functional change intended. Reviewed-by: Sebastian Ott <sebott@redhat.com> Signed-off-by: Reiji Watanabe <reijiw@google.com> Signed-off-by: Raghavendra Rao Ananta <rananta@google.com> Reviewed-by: Eric Auger <eric.auger@redhat.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20231020214053.2144305-2-rananta@google.com Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'include/kvm')
0 files changed, 0 insertions, 0 deletions