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

Mark Brown broonie at kernel.org
Tue Sep 9 14:17:00 PDT 2025


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>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20250909/553676a4/attachment.sig>


More information about the linux-arm-kernel mailing list