Re: [PATCH v8 01/13] KVM: arm64: PMU: Introduce helpers to set the guest's PMU

From: Sebastian Ott
Date: Mon Oct 23 2023 - 11:25:58 EST


On Fri, 20 Oct 2023, Raghavendra Rao Ananta wrote:
From: Reiji Watanabe <reijiw@xxxxxxxxxx>

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.

Signed-off-by: Reiji Watanabe <reijiw@xxxxxxxxxx>
Signed-off-by: Raghavendra Rao Ananta <rananta@xxxxxxxxxx>
Reviewed-by: Eric Auger <eric.auger@xxxxxxxxxx>

Reviewed-by: Sebastian Ott <sebott@xxxxxxxxxx>