Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/kvm/
Dkvm_create_max_vcpus.c41 int kvm_max_vcpu_id = kvm_check_cap(KVM_CAP_MAX_VCPU_ID); in main()
42 int kvm_max_vcpus = kvm_check_cap(KVM_CAP_MAX_VCPUS); in main()
Ddirty_log_test.c441 if (!kvm_check_cap(KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2)) { in main()
454 host_ipa_limit = kvm_check_cap(KVM_CAP_ARM_VM_IPA_SIZE); in main()
/external/linux-kselftest/tools/testing/selftests/kvm/x86_64/
Dhyperv_cpuid.c142 rv = kvm_check_cap(KVM_CAP_HYPERV_CPUID); in main()
162 if (!kvm_check_cap(KVM_CAP_HYPERV_ENLIGHTENED_VMCS)) { in main()
Devmcs_test.c88 if (!kvm_check_cap(KVM_CAP_NESTED_STATE) || in main()
89 !kvm_check_cap(KVM_CAP_HYPERV_ENLIGHTENED_VMCS)) { in main()
Dvmx_set_nested_state_test.c228 have_evmcs = kvm_check_cap(KVM_CAP_HYPERV_ENLIGHTENED_VMCS); in main()
230 if (!kvm_check_cap(KVM_CAP_NESTED_STATE)) { in main()
Dplatform_info_test.c90 rv = kvm_check_cap(KVM_CAP_MSR_PLATFORM_INFO); in main()
Dsmm_test.c116 if (kvm_check_cap(KVM_CAP_NESTED_STATE)) { in main()
Dstate_test.c138 if (kvm_check_cap(KVM_CAP_NESTED_STATE)) { in main()
Dsync_regs_test.c92 cap = kvm_check_cap(KVM_CAP_SYNC_REGS); in main()
/external/linux-kselftest/tools/testing/selftests/kvm/s390x/
Dsync_regs_test.c80 cap = kvm_check_cap(KVM_CAP_SYNC_REGS); in main()
Dmemop.c41 maxsize = kvm_check_cap(KVM_CAP_S390_MEM_OP); in main()
/external/linux-kselftest/tools/testing/selftests/kvm/include/
Dkvm_util.h68 int kvm_check_cap(long cap);
/external/linux-kselftest/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c1074 nested_size = kvm_check_cap(KVM_CAP_NESTED_STATE); in vcpu_save_state()
1112 if (kvm_check_cap(KVM_CAP_XCRS)) { in vcpu_save_state()
1157 if (kvm_check_cap(KVM_CAP_XCRS)) { in vcpu_load_state()
/external/linux-kselftest/tools/testing/selftests/kvm/lib/
Dkvm_util.c47 int kvm_check_cap(long cap) in kvm_check_cap() function
94 if (!kvm_check_cap(KVM_CAP_IMMEDIATE_EXIT)) { in vm_open()