]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: selftests: Close the GIC FD in arch_timer_edge_cases
authorZenghui Yu <yuzenghui@huawei.com>
Sun, 8 Jun 2025 09:54:02 +0000 (17:54 +0800)
committerMarc Zyngier <maz@kernel.org>
Thu, 19 Jun 2025 08:58:21 +0000 (09:58 +0100)
commit56a14984505b11674df5e01407748236bc4bc8f8
tree8c912b16cb0cc855a3bacabf8de7f6d3eae90e58
parent1fbe6861a6d9a942fb8ab8677ddf1ecb86b1af60
KVM: arm64: selftests: Close the GIC FD in arch_timer_edge_cases

Close the GIC FD to free the reference it holds to the VM so that we can
correctly clean up the VM. This also gets rid of the

"KVM: debugfs: duplicate directory 395722-4"

warning when running arch_timer_edge_cases.

Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
Reviewed-by: Miguel Luis <miguel.luis@oracle.com>
Reviewed-by: Sebastian Ott <sebott@redhat.com>
Link: https://lore.kernel.org/r/20250608095402.1131-1-yuzenghui@huawei.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
tools/testing/selftests/kvm/arm64/arch_timer_edge_cases.c