Home
last modified time | relevance | path

Searched refs:__vm_enable_cap (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/tools/testing/selftests/kvm/x86_64/
Dmax_vcpuid_cap_test.c25 ret = __vm_enable_cap(vm, KVM_CAP_MAX_VCPU_ID, ret + 1); in main()
34 ret = __vm_enable_cap(vm, KVM_CAP_MAX_VCPU_ID, MAX_VCPU_ID - 1); in main()
43 ret = __vm_enable_cap(vm, KVM_CAP_MAX_VCPU_ID, MAX_VCPU_ID + 1); in main()
Dsev_migrate_tests.c61 return __vm_enable_cap(dst, KVM_CAP_VM_MOVE_ENC_CONTEXT_FROM, src->fd); in __sev_migrate_from()
197 return __vm_enable_cap(dst, KVM_CAP_VM_COPY_ENC_CONTEXT_FROM, src->fd); in __sev_mirror_create()
Dapic_bus_clock_test.c143 ret = __vm_enable_cap(vm, KVM_CAP_X86_APIC_BUS_CYCLES_NS, in run_apic_bus_clock_test()
/linux-6.12.1/tools/testing/selftests/kvm/include/
Dkvm_util.h364 static inline int __vm_enable_cap(struct kvm_vm *vm, uint32_t cap, uint64_t arg0) in __vm_enable_cap() function
1124 return __vm_enable_cap(vm, KVM_CAP_VM_DISABLE_NX_HUGE_PAGES, 0); in __vm_disable_nx_huge_pages()