Home
last modified time | relevance | path

Searched refs:kvm_check_cap (Results 1 – 23 of 23) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/kvm/
Dkvm_create_max_vcpus.c42 int kvm_max_vcpu_id = kvm_check_cap(KVM_CAP_MAX_VCPU_ID); in main()
43 int kvm_max_vcpus = kvm_check_cap(KVM_CAP_MAX_VCPUS); in main()
Ddirty_log_test.c151 return kvm_check_cap(KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2); in clear_log_supported()
159 manual_caps = kvm_check_cap(KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2); in clear_log_create_vm_done()
547 unsigned int limit = kvm_check_cap(KVM_CAP_ARM_VM_IPA_SIZE); in main()
Ddirty_log_perf_test.c289 kvm_check_cap(KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2); in main()
306 unsigned int limit = kvm_check_cap(KVM_CAP_ARM_VM_IPA_SIZE); in main()
Ddemand_paging_test.c412 int max_vcpus = kvm_check_cap(KVM_CAP_MAX_VCPUS); in main()
426 unsigned int limit = kvm_check_cap(KVM_CAP_ARM_VM_IPA_SIZE); in main()
Dset_memory_region_test.c348 max_mem_slots = kvm_check_cap(KVM_CAP_NR_MEMSLOTS); in test_add_max_memory_regions()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/x86_64/
Dhyperv_cpuid.c156 rv = kvm_check_cap(KVM_CAP_HYPERV_CPUID); in main()
174 !kvm_check_cap(KVM_CAP_HYPERV_ENLIGHTENED_VMCS)) { in main()
Devmcs_test.c98 !kvm_check_cap(KVM_CAP_NESTED_STATE) || in main()
99 !kvm_check_cap(KVM_CAP_HYPERV_ENLIGHTENED_VMCS)) { in main()
Duser_msr_test.c211 rc = kvm_check_cap(KVM_CAP_X86_USER_SPACE_MSR); in main()
215 rc = kvm_check_cap(KVM_CAP_X86_MSR_FILTER); in main()
Dvmx_set_nested_state_test.c252 have_evmcs = kvm_check_cap(KVM_CAP_HYPERV_ENLIGHTENED_VMCS); in main()
254 if (!kvm_check_cap(KVM_CAP_NESTED_STATE)) { in main()
Dplatform_info_test.c89 rv = kvm_check_cap(KVM_CAP_MSR_PLATFORM_INFO); in main()
Dsmm_test.c120 if (kvm_check_cap(KVM_CAP_NESTED_STATE)) { in main()
Dkvm_pv_test.c213 if (!kvm_check_cap(KVM_CAP_ENFORCE_PV_FEATURE_CPUID)) { in main()
Dvmx_preemption_timer_test.c179 if (kvm_check_cap(KVM_CAP_NESTED_STATE)) { in main()
Dstate_test.c173 if (kvm_check_cap(KVM_CAP_NESTED_STATE)) { in main()
Ddebug_regs.c82 if (!kvm_check_cap(KVM_CAP_SET_GUEST_DEBUG)) { in main()
Dsync_regs_test.c92 cap = kvm_check_cap(KVM_CAP_SYNC_REGS); in main()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/s390x/
Dsync_regs_test.c87 cap = kvm_check_cap(KVM_CAP_SYNC_REGS); in main()
Dmemop.c41 maxsize = kvm_check_cap(KVM_CAP_S390_MEM_OP); in main()
Dresets.c274 if (kvm_check_cap(KVM_CAP_S390_VCPU_RESETS)) { in main()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c969 nested_size = kvm_check_cap(KVM_CAP_NESTED_STATE); in vcpu_save_state()
1007 if (kvm_check_cap(KVM_CAP_XCRS)) { in vcpu_save_state()
1052 if (kvm_check_cap(KVM_CAP_XCRS)) { in vcpu_load_state()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/include/
Dkvm_util.h64 int kvm_check_cap(long cap);
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/
Dkvm_util.c48 int kvm_check_cap(long cap) in kvm_check_cap() function
123 if (!kvm_check_cap(KVM_CAP_IMMEDIATE_EXIT)) { in vm_open()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/aarch64/
Dget-reg-list.c317 if (reg_list_sve() && !kvm_check_cap(KVM_CAP_ARM_SVE)) { in check_supported()