summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/include/x86.h
diff options
context:
space:
mode:
authorPaolo Bonzini2018-07-26 13:02:24 +0200
committerPaolo Bonzini2018-08-06 17:32:04 +0200
commit0a505fe6f272c5c1ceebbd266535ad79d9ca6920 (patch)
treea5a80f9ca4d173e98815abdafd53c2feb777f61a /tools/testing/selftests/kvm/include/x86.h
parentkvm: selftests: actually use all of lib/vmx.c (diff)
downloadkernel-qcow2-linux-0a505fe6f272c5c1ceebbd266535ad79d9ca6920.tar.gz
kernel-qcow2-linux-0a505fe6f272c5c1ceebbd266535ad79d9ca6920.tar.xz
kernel-qcow2-linux-0a505fe6f272c5c1ceebbd266535ad79d9ca6920.zip
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>
Diffstat (limited to 'tools/testing/selftests/kvm/include/x86.h')
0 files changed, 0 insertions, 0 deletions