diff options
| author | Dongli Zhang <[email protected]> | 2024-02-27 01:57:16 +0000 |
|---|---|---|
| committer | Sean Christopherson <[email protected]> | 2024-03-05 21:31:20 +0000 |
| commit | e9da6f08edb0bd4c621165496778d77a222e1174 (patch) | |
| tree | c110d45222dd21f40f2824959b684016e3211017 /tools/testing/selftests/kvm/lib/sparsebit.c | |
| parent | KVM: selftests: Add a basic SEV-ES smoke test (diff) | |
| download | kernel-e9da6f08edb0bd4c621165496778d77a222e1174.tar.gz kernel-e9da6f08edb0bd4c621165496778d77a222e1174.zip | |
KVM: selftests: Explicitly close guest_memfd files in some gmem tests
Explicitly close() guest_memfd files in various guest_memfd and
private_mem_conversions tests, there's no reason to keep the files open
until the test exits.
Fixes: 8a89efd43423 ("KVM: selftests: Add basic selftest for guest_memfd()")
Fixes: 43f623f350ce ("KVM: selftests: Add x86-only selftest for private memory conversions")
Signed-off-by: Dongli Zhang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[sean: massage changelog]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/sparsebit.c')
0 files changed, 0 insertions, 0 deletions
