summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vkuznets@redhat.com>2024-01-29 11:58:46 +0300
committerSean Christopherson <seanjc@google.com>2024-01-30 23:32:03 +0300
commit8ad4855273488c9bd5320b3fee80f66f0023f326 (patch)
tree01ea4ac6ce1a9129badc57cf8af37e3826bbcf80 /tools/perf/scripts/python/export-to-sqlite.py
parent46fee9e38995af9ae16a8cc7d05031486d44cf35 (diff)
downloadlinux-8ad4855273488c9bd5320b3fee80f66f0023f326.tar.xz
KVM: selftests: Avoid infinite loop in hyperv_features when invtsc is missing
When X86_FEATURE_INVTSC is missing, guest_test_msrs_access() was supposed to skip testing dependent Hyper-V invariant TSC feature. Unfortunately, 'continue' does not lead to that as stage is not incremented. Moreover, 'vm' allocated with vm_create_with_one_vcpu() is not freed and the test runs out of available file descriptors very quickly. Fixes: bd827bd77537 ("KVM: selftests: Test Hyper-V invariant TSC control") Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Link: https://lore.kernel.org/r/20240129085847.2674082-1-vkuznets@redhat.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions