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