[PATCH v23 02/14] KVM: arm64: Disable Steal time accounting for protected guests
Fuad Tabba
fuad.tabba at linux.dev
Wed Oct 7 03:51:38 PDT 2026
On Wed, 7 Oct 2026 at 09:35, Suzuki K Poulose <suzuki.poulose at arm.com> wrote:
>
> PVTIME support is advertised by KVM_CAP_STEAL_TIME, which doesn't take into
> account the kvm instance. Even with that, a VMM could skip the CAP check
> and proceed to configure the PVTIME as we don't do further check on the
> DEVICE_CTRL. Tighten this up by passing the KVM instance around wherever
> possible and catch things early.
>
> Reviewed-by: Fuad Tabba <fuad.tabba at linux.dev>
> Reviewed-by: Gavin Shan <gshan at redhat.com>
> Tested-by: Gavin Shan <gshan at redhat.com>
> Signed-off-by: Suzuki K Poulose <suzuki.poulose at arm.com>
Someone beat you to it. This is already in kvmarm/next as a5b0f36a045e :)
Cheers,
/fuad
More information about the linux-arm-kernel
mailing list