[PATCH] KVM: selftests: Fix VM leak in early return

Marc Zyngier maz at kernel.org
Mon Sep 14 05:04:12 PDT 2026


On Sun, 06 Sep 2026 03:41:43 +0000, Tharit Tangkijwanichakul wrote:
> test_mmio_ease() returns early and skips the call to kvm_vm_free() when
> ID_AA64PFR1_EL1 is not available.
> 
> Use a goto so that the early return joins the common exit path.

Applied to next, thanks!

[1/1] KVM: selftests: Fix VM leak in early return
      commit: bb6c7d2bf564cdaa24b14764b7126f5cab45965a

Cheers,

	M.
-- 
Without deviation from the norm, progress is not possible.





More information about the linux-arm-kernel mailing list