Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/tools/testing/selftests/kvm/include/
Dkvm_util_base.h295 #define __vcpu_ioctl(vcpu, cmd, arg) \ macro
303 int ret = __vcpu_ioctl(vcpu, cmd, arg); \
469 return __vcpu_ioctl(vcpu, KVM_RUN, NULL); in __vcpu_run()
520 return __vcpu_ioctl(vcpu, KVM_SET_SREGS, sregs); in _vcpu_sregs_set()
535 return __vcpu_ioctl(vcpu, KVM_GET_ONE_REG, &reg); in __vcpu_get_reg()
541 return __vcpu_ioctl(vcpu, KVM_SET_ONE_REG, &reg); in __vcpu_set_reg()
577 return __vcpu_ioctl(vcpu, KVM_SET_NESTED_STATE, state); in __vcpu_nested_state_set()
588 int fd = __vcpu_ioctl(vcpu, KVM_GET_STATS_FD, NULL); in vcpu_get_stats_fd()
/linux-6.6.21/tools/testing/selftests/kvm/
Dsteal_time.c164 return !__vcpu_ioctl(vcpu, KVM_HAS_DEVICE_ATTR, &dev); in is_steal_time_supported()
186 ret = __vcpu_ioctl(vcpu, KVM_SET_DEVICE_ATTR, &dev); in steal_time_init()
192 ret = __vcpu_ioctl(vcpu, KVM_SET_DEVICE_ATTR, &dev); in steal_time_init()
Dget-reg-list.c235 ret = __vcpu_ioctl(vcpu, KVM_SET_ONE_REG, &reg); in run_test()
254 ret = __vcpu_ioctl(vcpu, KVM_SET_ONE_REG, &reg); in run_test()
/linux-6.6.21/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.c171 return __vcpu_ioctl(vcpu, KVM_S390_MEM_OP, ksmo); in err_memop_ioctl()
/linux-6.6.21/tools/testing/selftests/kvm/x86_64/
Dhyperv_cpuid.c122 ret = __vcpu_ioctl(vcpu, KVM_GET_SUPPORTED_HV_CPUID, &cpuid); in test_hv_cpuid_e2big()
Dvmx_nested_tsc_scaling_test.c175 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.c200 __vcpu_ioctl(vcpu, KVM_TRANSLATE, &tr); in race_sync_regs()
/linux-6.6.21/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h811 int r = __vcpu_ioctl(vcpu, KVM_GET_MSRS, msrs); in vcpu_msrs_get()
819 int r = __vcpu_ioctl(vcpu, KVM_SET_MSRS, msrs); in vcpu_msrs_set()
979 r = __vcpu_ioctl(vcpu, KVM_SET_CPUID2, vcpu->cpuid); in __vcpu_set_cpuid()
/linux-6.6.21/tools/testing/selftests/kvm/lib/riscv/
Dprocessor.c305 r = __vcpu_ioctl(vcpu, KVM_SET_MP_STATE, &mps); in vm_arch_vcpu_add()
/linux-6.6.21/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c819 return __vcpu_ioctl(vcpu, KVM_SET_MSRS, &buffer.header); in _vcpu_set_msr()
/linux-6.6.21/tools/testing/selftests/kvm/lib/
Dkvm_util.c1623 ret = __vcpu_ioctl(vcpu, KVM_GET_REG_LIST, &reg_list_n); in vcpu_get_reg_list()