Home
last modified time | relevance | path

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

/linux-6.1.9/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()
Dget-reg-list.c476 ret = __vcpu_ioctl(vcpu, KVM_SET_ONE_REG, &reg); in run_test()
488 ret = __vcpu_ioctl(vcpu, KVM_SET_ONE_REG, &reg); in run_test()
/linux-6.1.9/tools/testing/selftests/kvm/include/
Dkvm_util_base.h236 #define __vcpu_ioctl(vcpu, cmd, arg) \ macro
244 int ret = __vcpu_ioctl(vcpu, cmd, arg); \
402 return __vcpu_ioctl(vcpu, KVM_RUN, NULL); in __vcpu_run()
453 return __vcpu_ioctl(vcpu, KVM_SET_SREGS, sregs); in _vcpu_sregs_set()
468 return __vcpu_ioctl(vcpu, KVM_GET_ONE_REG, &reg); in __vcpu_get_reg()
474 return __vcpu_ioctl(vcpu, KVM_SET_ONE_REG, &reg); in __vcpu_set_reg()
510 return __vcpu_ioctl(vcpu, KVM_SET_NESTED_STATE, state); in __vcpu_nested_state_set()
521 int fd = __vcpu_ioctl(vcpu, KVM_GET_STATS_FD, NULL); in vcpu_get_stats_fd()
/linux-6.1.9/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()
/linux-6.1.9/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.c165 return __vcpu_ioctl(vcpu, KVM_S390_MEM_OP, ksmo); in err_memop_ioctl()
/linux-6.1.9/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.c179 tsc_khz = __vcpu_ioctl(vcpu, KVM_GET_TSC_KHZ, NULL); in main()
/linux-6.1.9/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h558 int r = __vcpu_ioctl(vcpu, KVM_GET_MSRS, msrs); in vcpu_msrs_get()
566 int r = __vcpu_ioctl(vcpu, KVM_SET_MSRS, msrs); in vcpu_msrs_set()
666 r = __vcpu_ioctl(vcpu, KVM_SET_CPUID2, vcpu->cpuid); in __vcpu_set_cpuid()
/linux-6.1.9/tools/testing/selftests/kvm/lib/riscv/
Dprocessor.c300 r = __vcpu_ioctl(vcpu, KVM_SET_MP_STATE, &mps); in vm_arch_vcpu_add()
/linux-6.1.9/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c825 return __vcpu_ioctl(vcpu, KVM_SET_MSRS, &buffer.header); in _vcpu_set_msr()
/linux-6.1.9/tools/testing/selftests/kvm/lib/
Dkvm_util.c1498 ret = __vcpu_ioctl(vcpu, KVM_GET_REG_LIST, &reg_list_n); in vcpu_get_reg_list()