[PATCH v2 3/4] KVM: arm64: Add KVM_ARM_VCPU_PMU_V3_SET_PMU attribute
Marc Zyngier
maz at kernel.org
Wed Dec 8 06:25:58 PST 2021
On Wed, 08 Dec 2021 12:23:44 +0000,
Alexandru Elisei <alexandru.elisei at arm.com> wrote:
>
> This makes me wonder. Should KVM enforce having userspace either not
> setting the PMU for any VCPU, either setting it for all VCPUs? I think this
> would be a good idea and will reduce complexity in the long run. I also
> don't see a use case for userspace choosing to set the PMU for a subset of
> VCPUs, leaving the other VCPUs with the default behaviour.
Indeed. As much as I'm happy to expose a PMU to a guest on an
asymmetric system, I really do not want the asymmetry in the guest
itself. So this should be an all or nothing behaviour.
Thanks,
M.
--
Without deviation from the norm, progress is not possible.
More information about the linux-arm-kernel
mailing list