aboutsummaryrefslogtreecommitdiffstats
path: root/tools (follow)
AgeCommit message (Expand)AuthorFilesLines
2022-06-11KVM: selftests: Rename vm_create() => vm_create_barebones(), drop paramSean Christopherson10-40/+23
2022-06-11KVM: selftests: Avoid memory allocations when adding vCPU in get-reg-listSean Christopherson1-1/+2
2022-06-11KVM: selftests: Use vm_create_without_vcpus() in psci_testSean Christopherson1-2/+1
2022-06-11KVM: selftests: Use vm_create_without_vcpus() in hardware_disable_testSean Christopherson1-3/+1
2022-06-11KVM: selftests: Use vm_create_without_vcpus() in dirty_log_testSean Christopherson1-5/+2
2022-06-11KVM: selftests: Use vm_create_without_vcpus() in set_boot_cpu_idSean Christopherson1-8/+1
2022-06-11KVM: selftests: Push vm_adjust_num_guest_pages() into "w/o vCPUs" helperSean Christopherson2-2/+2
2022-06-11KVM: selftests: Add vm_create_*() variants to expose/return 'struct vcpu'Sean Christopherson2-0/+34
2022-06-11KVM: selftest: Add proper helpers for x86-specific save/restore ioctlsSean Christopherson2-91/+93
2022-06-11KVM: selftests: Rename MP_STATE and GUEST_DEBUG helpers for consistencySean Christopherson5-6/+11
2022-06-11KVM: selftests: Dedup MSR index list helpers, simplify dedicated testSean Christopherson3-106/+46
2022-06-11KVM: selftests: Harden and comment XSS / KVM_SET_MSRS interactionSean Christopherson1-1/+6
2022-06-11KVM: selftests: Cache list of MSRs to save/restoreSean Christopherson3-67/+45
2022-06-11KVM: selftests: Simplify KVM_ENABLE_CAP helper APIsSean Christopherson16-126/+47
2022-06-11KVM: selftests: Consolidate KVM_ENABLE_CAP usageSean Christopherson4-51/+52
2022-06-11KVM: selftests: Add a VM backpointer to 'struct vcpu'Sean Christopherson2-0/+2
2022-06-11KVM: selftests: Dedup vgic_init's asserts and improve error messagesSean Christopherson1-65/+47
2022-06-11KVM: selftests: Split get/set device_attr helpersSean Christopherson7-211/+231
2022-06-11KVM: selftests: Drop 'int' return from asserting *_has_device_attr()Sean Christopherson3-22/+19
2022-06-11KVM: selftests: Rename KVM_HAS_DEVICE_ATTR helpers for consistencySean Christopherson4-17/+15
2022-06-11KVM: selftests: Multiplex return code and fd in __kvm_create_device()Sean Christopherson4-15/+14
2022-06-11KVM: selftests: Move KVM_CREATE_DEVICE_TEST code to separate helperSean Christopherson4-14/+25
2022-06-11KVM: selftests: Drop @test param from kvm_create_device()Sean Christopherson3-17/+11
2022-06-11KVM: selftests: Use KVM_IOCTL_ERROR() for one-off arm64 ioctlsSean Christopherson1-4/+4
2022-06-11KVM: selftests: Get rid of kvm_util_internal.hSean Christopherson17-116/+90
2022-06-11KVM: selftests: Make x86-64's register dump helpers staticSean Christopherson2-68/+2
2022-06-11KVM: selftests: Use __KVM_SYSCALL_ERROR() to handle non-KVM syscall errorsSean Christopherson3-29/+22
2022-06-11KVM: selftests: Use kvm_ioctl() helpersSean Christopherson6-49/+26
2022-06-11KVM: selftests: Make kvm_ioctl() a wrapper to pretty print ioctl nameSean Christopherson3-29/+20
2022-06-11KVM: sefltests: Use vm_ioctl() and __vm_ioctl() helpersSean Christopherson6-126/+67
2022-06-11KVM: selftests: Make vm_ioctl() a wrapper to pretty print ioctl nameSean Christopherson2-37/+27
2022-06-11KVM: selftests: Add vcpu_get() to retrieve and assert on vCPU existenceSean Christopherson4-47/+20
2022-06-11KVM: selftests: Remove vcpu_get_fd()Sean Christopherson2-10/+0
2022-06-11KVM: selftests: Use vcpu_access_device_attr() in arm64 codeSean Christopherson1-6/+4
2022-06-11KVM: selftests: Add __vcpu_run() helperSean Christopherson4-12/+12
2022-06-11KVM: sefltests: Use vcpu_ioctl() and __vcpu_ioctl() helpersSean Christopherson5-439/+135
2022-06-11KVM: selftests: Split vcpu_set_nested_state() into two helpersSean Christopherson3-14/+16
2022-06-11KVM: selftests: Drop @mode from common vm_create() helperSean Christopherson14-40/+42
2022-06-11KVM: selftests: Make vcpu_ioctl() a wrapper to pretty print ioctl nameSean Christopherson2-25/+19
2022-06-11KVM: selftests: Add another underscore to inner ioctl() helpersSean Christopherson13-39/+39
2022-06-11KVM: selftests: Always open VM file descriptors with O_RDWRSean Christopherson19-36/+34
2022-06-11KVM: selftests: Drop stale declarations from kvm_util_base.hSean Christopherson1-5/+0
2022-06-11KVM: selftests: Fix typo in vgic_init testSean Christopherson1-2/+3
2022-06-11KVM: selftests: Fix buggy-but-benign check in test_v3_new_redist_regions()Sean Christopherson1-2/+2
2022-06-11KVM: Fix references to non-existent KVM_CAP_TRIPLE_FAULT_EVENTSean Christopherson1-3/+3
2022-06-09Merge branch 'kvm-5.20-early'Paolo Bonzini17-64/+610
2022-06-09KVM: selftests: Restrict test region to 48-bit physical addresses when using nestedDavid Matlack1-3/+15
2022-06-09KVM: selftests: Add option to run dirty_log_perf_test vCPUs in L2David Matlack8-8/+182
2022-06-09KVM: selftests: Clean up LIBKVM files in MakefileDavid Matlack1-5/+31
2022-06-09KVM: selftests: Link selftests directly with lib object filesDavid Matlack1-7/+4