diff options
author | Dongli Zhang <dongli.zhang@oracle.com> | 2024-02-27 04:57:16 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-03-06 00:31:20 +0300 |
commit | e9da6f08edb0bd4c621165496778d77a222e1174 (patch) | |
tree | c110d45222dd21f40f2824959b684016e3211017 /lib/test-string_helpers.c | |
parent | 40e09b3ccfacc640d58e1e3d6b8f29b2db0a9848 (diff) | |
download | linux-e9da6f08edb0bd4c621165496778d77a222e1174.tar.xz |
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 <dongli.zhang@oracle.com>
Link: https://lore.kernel.org/r/20240227015716.27284-1-dongli.zhang@oracle.com
[sean: massage changelog]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions