On Tue, 11 Aug 2026 10:30:27 +0530, Gokul K wrote:
> Two x86 selftests create a VM and then take an early return that skips the
> kvm_vm_free() at the end of the function. Both now jump to that existing
> cleanup instead.
>
> Patch 1 is the plain-SEV path of sev_smoke_test(), which returns straight
> out of the UCALL_DONE case instead of leaving the loop. The SEV-ES path
> next to it breaks out and frees correctly.
>
> [...]
Applied to kvm-x86 selftests, thanks!
[1/2] KVM: selftests: Free the VM when the SEV smoke test's guest completes
https://github.com/kvm-x86/linux/commit/434c50e703c5
[2/2] KVM: selftests: Free the VM when NX hugepage disabling is denied
https://github.com/kvm-x86/linux/commit/ebb702707896
--
https://github.com/kvm-x86/linux/tree/next