[PATCH v4 0/9] KVM: arm64: Reserve pKVM VM handle during initial VM setup

Fuad Tabba tabba at google.com
Wed Sep 10 01:42:21 PDT 2025


On Tue, 9 Sept 2025 at 22:17, Mark Brown <broonie at kernel.org> wrote:
>
> On Tue, Sep 09, 2025 at 08:24:27AM +0100, Fuad Tabba wrote:
>
> > - Fix bug reported by Mark [2]. The existing call to pkvm_init_host_vm()
> >   wasn't gated by protected mode being enabled, unlike the call to
> >   pkvm_destroy_hyp_vm(). This imbalance caused failures in non-protected
> >   mode, especially when creating and destroying multiple VMs. Tested
> >   with kvm demand_paging_test using nvhe, vhe, and protected.
>
> I fed this into the testing that blew up with the prior version and it
> seems happy this time so:
>
> Tested-by: Mark Brown <broonie at kernel.org>

Thank you!
/fuad



More information about the linux-arm-kernel mailing list