linux/tools/testing/selftests/kvm
Paolo Bonzini 0a505fe6f2 kvm: selftests: ensure vcpu file is released
The selftests were not munmap-ing the kvm_run area from the vcpu file descriptor.
The result was that kvm_vcpu_release was not called and a reference was left in the
parent "struct kvm".  Ultimately this was visible in the upcoming state save/restore
test as an error when KVM attempted to create a duplicate debugfs entry.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2018-08-06 17:32:04 +02:00
..
include kvm: selftests: actually use all of lib/vmx.c 2018-08-06 17:32:03 +02:00
lib kvm: selftests: ensure vcpu file is released 2018-08-06 17:32:04 +02:00
.gitignore kvm: selftests: add cr4_cpuid_sync_test 2018-08-06 17:31:59 +02:00
cr4_cpuid_sync_test.c kvm: selftests: add cr4_cpuid_sync_test 2018-08-06 17:31:59 +02:00
Makefile kvm: selftests: add cr4_cpuid_sync_test 2018-08-06 17:31:59 +02:00
set_sregs_test.c
sync_regs_test.c KVM: selftests: exit with 0 status code when tests cannot be run 2018-05-11 11:21:12 +02:00
vmx_tsc_adjust_test.c kvm: selftests: actually use all of lib/vmx.c 2018-08-06 17:32:03 +02:00