diff options
author | Oliver Upton <oupton@google.com> | 2022-04-07 02:56:15 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-04-07 10:46:13 +0300 |
commit | 21db83846683d3987666505a3ec38f367708199a (patch) | |
tree | 3e6b7dd2b66f5460c076b2f2c0c71158a84d0433 /virt/kvm | |
parent | 386ba265a8197716076a88853244f4437b92b167 (diff) | |
download | linux-21db83846683d3987666505a3ec38f367708199a.tar.xz |
selftests: KVM: Free the GIC FD when cleaning up in arch_timer
In order to correctly destroy a VM, all references to the VM must be
freed. The arch_timer selftest creates a VGIC for the guest, which
itself holds a reference to the VM.
Close the GIC FD when cleaning up a VM.
Signed-off-by: Oliver Upton <oupton@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220406235615.1447180-4-oupton@google.com
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions