diff options
| author | Will Deacon <will@kernel.org> | 2026-03-31 16:50:53 +0100 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-04-01 14:29:06 +0100 |
| commit | 760299a1d8102b36bed5c25c5a3f94b5a0eee081 (patch) | |
| tree | 08fa708722ca6b7b27e6721f98cd41dbf887f17d /scripts/stackusage | |
| parent | 61135967fa76d37883d90ccccc5a1cb73e90b94d (diff) | |
KVM: arm64: Prevent teardown finalisation of referenced 'hyp_vm'
Destroying a 'hyp_vm' with an elevated referenced count in
__pkvm_finalize_teardown_vm() is only going to lead to tears.
In preparation for allowing limited references to be acquired on dying
VMs during the teardown process, factor out the handle-to-vm logic for
the teardown path and reuse it for both the 'start' and 'finalise'
stages of the teardown process.
Signed-off-by: Will Deacon <will@kernel.org>
Link: https://patch.msgid.link/20260331155056.28220-2-will@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
