Re: [PATCH v6 09/11] KVM: arm64: Select protected VM behaviour by VM flavour

From: Fuad Tabba

Date: Fri Dec 04 2026 - 08:22:13 EST


On Fri, 4 Dec 2026 at 11:58, Steven Price <steven.price@xxxxxxx> wrote:
>
> Use the VM flavour when choosing the stage-2 fault lock, fault memory
> cache, pre-fault policy and ptdump visibility. This prepares these paths
> for Realm VMs, whose stage-2 tables are managed outside the host.
>
> Move the VM flavour helper outside the nVHE guard so the shared
> fault-lock helpers can use it.
>
> Signed-off-by: Steven Price <steven.price@xxxxxxx>

Reviewed-by: Fuad Tabba <fuad.tabba@xxxxxxxxx>

Cheers,
/fuad