+3
−1
Loading
If pkvm_init_host_vm() fails, we should free the stage-2 page-table previously allocated by kvm_init_stage2_mmu(). Cc: Fuad Tabba <tabba@google.com> Reviewed-by:Fuad Tabba <tabba@google.com> Tested-by:
Fuad Tabba <tabba@google.com> Tested-by:
Mostafa Saleh <smostafa@google.com> Fixes: 07aeb707 ("KVM: arm64: Reserve pKVM handle during pkvm_init_host_vm()") Signed-off-by:
Will Deacon <will@kernel.org> Link: https://patch.msgid.link/20260330144841.26181-3-will@kernel.org Signed-off-by:
Marc Zyngier <maz@kernel.org>