summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/kvm/kvm_binary_stats_test.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-29KVM: selftests: Define _GNU_SOURCE for all selftests codeSean Christopherson1-2/+0
2023-07-29KVM: selftests: Verify stats fd is usable after VM fd has been closedSean Christopherson1-2/+8
2023-07-29KVM: selftests: Verify stats fd can be dup()'d and readSean Christopherson1-1/+7
2023-07-29KVM: selftests: Verify userspace can create "redundant" binary stats filesSean Christopherson1-2/+23
2023-07-29KVM: selftests: Explicitly free vcpus array in binary stats testSean Christopherson1-0/+1
2023-07-29KVM: selftests: Clean up stats fd in common stats_test() helperSean Christopherson1-18/+4
2023-07-29KVM: selftests: Use pread() to read binary stats headerSean Christopherson1-2/+4
2023-01-24KVM: selftests: Stop assuming stats are contiguous in kvm_binary_stats_testJing Zhang1-9/+1
2022-12-29KVM: selftests: Use TAP interface in the kvm_binary_stats_testThomas Huth1-2/+9
2022-08-01selftests: KVM: Add exponent check for boolean statsOliver Upton1-0/+6
2022-08-01selftests: KVM: Provide descriptive assertions in kvm_binary_stats_testOliver Upton1-8/+16
2022-08-01selftests: KVM: Check stat name before other fieldsOliver Upton1-3/+5
2022-06-24KVM: selftests: Read binary stat data in libBen Gardon1-7/+2
2022-06-24KVM: selftests: Clean up coding style in binary stats testSean Christopherson1-34/+45
2022-06-24KVM: selftests: Read binary stats desc in libBen Gardon1-11/+5
2022-06-24KVM: selftests: Read binary stats header in libBen Gardon1-2/+2
2022-06-24KVM: selftests: Remove dynamic memory allocation for stats headerBen Gardon1-31/+27
2022-06-14KVM: selftests: kvm_binary_stats_test: Fix index expressionsAndrew Jones1-2/+2
2022-06-11KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+pasteSean Christopherson1-4/+1
2022-06-11KVM: selftests: Add kvm_has_cap() to provide syntactic sugarSean Christopherson1-1/+1
2022-06-11KVM: selftests: Return an 'unsigned int' from kvm_check_cap()Sean Christopherson1-1/+1
2022-06-11KVM: selftests: Purge vm+vcpu_id == vcpu sillinessSean Christopherson1-1/+1
2022-06-11KVM: selftests: Convert kvm_binary_stats_test away from vCPU IDsSean Christopherson1-4/+9
2022-06-11KVM: selftests: Rename vm_vcpu_add* helpers to better show relationshipsSean Christopherson1-1/+1
2022-06-11KVM: selftests: Rename vm_create() => vm_create_barebones(), drop paramSean Christopherson1-1/+1
2022-06-11KVM: sefltests: Use vm_ioctl() and __vm_ioctl() helpersSean Christopherson1-5/+1
2022-06-11KVM: sefltests: Use vcpu_ioctl() and __vcpu_ioctl() helpersSean Christopherson1-5/+1
2022-06-11KVM: selftests: Drop @mode from common vm_create() helperSean Christopherson1-2/+1
2022-06-11KVM: selftests: Always open VM file descriptors with O_RDWRSean Christopherson1-1/+1
2021-08-20KVM: selftests: Add checks for histogram stats bucket_size fieldJing Zhang1-0/+12
2021-06-25KVM: selftests: Add selftest for KVM statistics data binary interfaceJing Zhang1-0/+237