summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/kvm/dirty_log_test.c
AgeCommit message (Expand)AuthorFilesLines
2025-02-12KVM: selftests: Allow running a single iteration of dirty_log_testSean Christopherson1-1/+1
2025-02-12KVM: selftests: Fix an off-by-one in the number of dirty_log_test iterationsSean Christopherson1-1/+1
2025-02-12KVM: selftests: Set per-iteration variables at the start of each iterationSean Christopherson1-26/+17
2025-02-12KVM: selftests: Tighten checks around prev iter's last dirty page in ringSean Christopherson1-7/+15
2025-02-12KVM: selftests: Ensure guest writes min number of pages in dirty_log_testSean Christopherson1-4/+36
2025-02-12KVM: sefltests: Verify value of dirty_log_test last page isn't bogusSean Christopherson1-2/+3
2025-02-12KVM: selftests: Collect *all* dirty entries in each dirty_log_test iterationSean Christopherson1-104/+45
2025-02-12KVM: selftests: Print (previous) last_page on dirty page value mismatchSean Christopherson1-5/+8
2025-02-12KVM: selftests: Use continue to handle all "pass" scenarios in dirty_log_testSean Christopherson1-8/+5
2025-02-12KVM: selftests: Post to sem_vcpu_stop if and only if vcpu_stop is trueSean Christopherson1-14/+4
2025-02-12KVM: selftests: Keep dirty_log_test vCPU in guest until it needs to stopSean Christopherson1-21/+22
2025-02-12KVM: selftests: Honor "stop" request in dirty ring testSean Christopherson1-2/+10
2025-02-12KVM: selftests: Limit dirty_log_test's s390x workaround to s390xMaxim Levitsky1-0/+2
2025-02-12KVM: selftests: Continuously reap dirty ring while vCPU is runningSean Christopherson1-17/+46
2025-02-12KVM: selftests: Read per-page value into local var when verifying dirty_log_testSean Christopherson1-9/+7
2025-02-12KVM: selftests: Precisely track number of dirty/clear pages for each iterationSean Christopherson1-9/+9
2025-02-12KVM: selftests: Drop stale srandom() initialization from dirty_log_testSean Christopherson1-2/+0
2025-02-12KVM: selftests: Drop signal/kick from dirty ring testcaseSean Christopherson1-91/+15
2025-02-12KVM: selftests: Sync dirty_log_test iteration to guest *before* resumingSean Christopherson1-1/+1
2025-02-12KVM: selftests: Support multiple write retires in dirty_log_testMaxim Levitsky1-2/+50
2024-04-29Revert "kvm: selftests: move base kvm_util.h declarations to kvm_util_base.h"Sean Christopherson1-0/+1
2024-04-29KVM: selftests: Add vcpu_arch_put_guest() to do writes from guest codeSean Christopherson1-2/+3
2024-04-29KVM: selftests: Provide a global pseudo-RNG instance for all testsSean Christopherson1-16/+1
2024-04-29KVM: selftests: Define _GNU_SOURCE for all selftests codeSean Christopherson1-3/+0
2024-02-06KVM: selftests: Fix a semaphore imbalance in the dirty ring logging testSean Christopherson1-23/+27
2024-01-29KVM: selftests: Remove redundant newlinesAndrew Jones1-2/+2
2023-11-14KVM: selftests: Introduce VM "shape" to allow tests to specify the VM typeSean Christopherson1-1/+1
2022-12-12Merge remote-tracking branch 'kvm/queue' into HEADPaolo Bonzini1-17/+17
2022-12-09Merge tag 'kvmarm-6.2' of https://git.kernel.org/pub/scm/linux/kernel/git/kvm...Paolo Bonzini1-14/+39
2022-12-02KVM: selftests: Use non-atomic clear/set bit helpers in KVM testsSean Christopherson1-17/+17
2022-11-17KVM: selftests: Drop now-unnecessary ucall_uninit()Sean Christopherson1-1/+0
2022-11-17KVM: selftests: Automatically do init_ucall() for non-barebones VMsSean Christopherson1-2/+0
2022-11-10KVM: selftests: Automate choosing dirty ring size in dirty_log_testGavin Shan1-4/+22
2022-11-10KVM: selftests: Clear dirty ring states between two modes in dirty_log_testGavin Shan1-10/+17
2022-09-29KVM: selftests: dirty-log: Use KVM_CAP_DIRTY_LOG_RING_ACQ_REL if availableMarc Zyngier1-1/+2
2022-09-29KVM: selftests: dirty-log: Upgrade flag accesses to acquire/release semanticsMarc Zyngier1-2/+3
2022-06-11KVM: selftests: Add kvm_has_cap() to provide syntactic sugarSean Christopherson1-2/+2
2022-06-11KVM: selftests: Move per-VM/per-vCPU nr pages calculation to __vm_create()Sean Christopherson1-2/+1
2022-06-11KVM: selftests: Open code and drop 'struct kvm_vm' accessorsSean Christopherson1-5/+4
2022-06-11KVM: selftests: Purge vm+vcpu_id == vcpu sillinessSean Christopherson1-5/+5
2022-06-11KVM: selftests: Remove vcpu_get() usage from dirty_log_testSean Christopherson1-6/+4
2022-06-11KVM: selftests: Rename vm_vcpu_add* helpers to better show relationshipsSean Christopherson1-1/+1
2022-06-11KVM: selftests: Convert dirty_log_test away from VCPU_IDSean Christopherson1-29/+30
2022-06-11KVM: selftests: Make vm_create() a wrapper that specifies VM_MODE_DEFAULTSean Christopherson1-1/+1
2022-06-11KVM: selftests: Rename vm_create_without_vcpus() => vm_create()Sean Christopherson1-1/+1
2022-06-11KVM: selftests: Use vm_create_without_vcpus() in dirty_log_testSean Christopherson1-5/+2
2022-06-11KVM: selftests: Simplify KVM_ENABLE_CAP helper APIsSean Christopherson1-4/+1
2022-06-11KVM: selftests: Add __vcpu_run() helperSean Christopherson1-4/+2
2022-06-11KVM: selftests: Drop @mode from common vm_create() helperSean Christopherson1-1/+1
2022-06-11KVM: selftests: Always open VM file descriptors with O_RDWRSean Christopherson1-1/+1