Home
last modified time | relevance | path

Searched refs:__vcpu_ioctl (Results 1 – 15 of 15) sorted by relevance

/linux-6.12.1/tools/testing/selftests/kvm/aarch64/
Dvcpu_width_config.c31 ret = __vcpu_ioctl(vcpu0, KVM_ARM_VCPU_INIT, init0); in add_init_2vcpus()
36 ret = __vcpu_ioctl(vcpu1, KVM_ARM_VCPU_INIT, init1); in add_init_2vcpus()
59 ret = __vcpu_ioctl(vcpu0, KVM_ARM_VCPU_INIT, init0); in add_2vcpus_init_2vcpus()
63 ret = __vcpu_ioctl(vcpu1, KVM_ARM_VCPU_INIT, init1); in add_2vcpus_init_2vcpus()
/linux-6.12.1/tools/testing/selftests/kvm/include/
Dkvm_util.h339 #define __vcpu_ioctl(vcpu, cmd, arg) \ macro
347 int ret = __vcpu_ioctl(vcpu, cmd, arg); \
631 return __vcpu_ioctl(vcpu, KVM_RUN, NULL); in __vcpu_run()
682 return __vcpu_ioctl(vcpu, KVM_SET_SREGS, sregs); in _vcpu_sregs_set()
697 return __vcpu_ioctl(vcpu, KVM_GET_ONE_REG, &reg); in __vcpu_get_reg()
703 return __vcpu_ioctl(vcpu, KVM_SET_ONE_REG, &reg); in __vcpu_set_reg()
739 return __vcpu_ioctl(vcpu, KVM_SET_NESTED_STATE, state); in __vcpu_nested_state_set()
750 int fd = __vcpu_ioctl(vcpu, KVM_GET_STATS_FD, NULL); in vcpu_get_stats_fd()
/linux-6.12.1/tools/testing/selftests/kvm/
Dsteal_time.c166 return !__vcpu_ioctl(vcpu, KVM_HAS_DEVICE_ATTR, &dev); in is_steal_time_supported()
188 ret = __vcpu_ioctl(vcpu, KVM_SET_DEVICE_ATTR, &dev); in steal_time_init()
194 ret = __vcpu_ioctl(vcpu, KVM_SET_DEVICE_ATTR, &dev); in steal_time_init()
Dget-reg-list.c236 ret = __vcpu_ioctl(vcpu, KVM_SET_ONE_REG, &reg); in run_test()
255 ret = __vcpu_ioctl(vcpu, KVM_SET_ONE_REG, &reg); in run_test()
Dpre_fault_memory_test.c46 ret = __vcpu_ioctl(vcpu, KVM_PRE_FAULT_MEMORY, &range); in pre_fault_memory()
/linux-6.12.1/tools/testing/selftests/kvm/s390x/
Dresets.c75 irqs = __vcpu_ioctl(vcpu, KVM_S390_GET_IRQ_STATE, &irq_state); in assert_noirq()
201 irqs = __vcpu_ioctl(vcpu, KVM_S390_SET_IRQ_STATE, &irq_state); in inject_irq()
Dmemop.c173 return __vcpu_ioctl(vcpu, KVM_S390_MEM_OP, ksmo); in err_memop_ioctl()
/linux-6.12.1/tools/testing/selftests/kvm/x86_64/
Dhyperv_cpuid.c120 ret = __vcpu_ioctl(vcpu, KVM_GET_SUPPORTED_HV_CPUID, &cpuid); in test_hv_cpuid_e2big()
Dvmx_nested_tsc_scaling_test.c158 tsc_khz = __vcpu_ioctl(vcpu, KVM_GET_TSC_KHZ, NULL); in main()
Dcpuid_test.c178 r = __vcpu_ioctl(vcpu, KVM_GET_CPUID2, cpuid); in test_get_cpuid2()
Dsync_regs_test.c198 __vcpu_ioctl(vcpu, KVM_TRANSLATE, &tr); in race_sync_regs()
/linux-6.12.1/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h863 int r = __vcpu_ioctl(vcpu, KVM_GET_MSRS, msrs); in vcpu_msrs_get()
871 int r = __vcpu_ioctl(vcpu, KVM_SET_MSRS, msrs); in vcpu_msrs_set()
1034 r = __vcpu_ioctl(vcpu, KVM_SET_CPUID2, vcpu->cpuid); in __vcpu_set_cpuid()
/linux-6.12.1/tools/testing/selftests/kvm/lib/riscv/
Dprocessor.c322 r = __vcpu_ioctl(vcpu, KVM_SET_MP_STATE, &mps); in vm_arch_vcpu_add()
/linux-6.12.1/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c910 return __vcpu_ioctl(vcpu, KVM_SET_MSRS, &buffer.header); in _vcpu_set_msr()
/linux-6.12.1/tools/testing/selftests/kvm/lib/
Dkvm_util.c1688 ret = __vcpu_ioctl(vcpu, KVM_GET_REG_LIST, &reg_list_n); in vcpu_get_reg_list()